modified: Dockerfile

modified:   Jenkinsfile
Updated to use config volume
This commit is contained in:
Jonathan Ervine
2020-04-07 09:59:33 +08:00
parent 2d23705152
commit b0c1d98107
2 changed files with 6 additions and 2 deletions
Vendored
+3
View File
@@ -15,7 +15,10 @@ node("docker-node") {
app.push("${env.BUILD_NUMBER}")
app.push("latest")
stage('Deploy on K8s'){
sh "/usr/local/bin/kubectl -n media delete po bedrock-0"
}
}
catch (err) {
currentBuild.result = 'FAILURE'
}