modified: Dockerfile
modified: Jenkinsfile Added k8s auto-deploy to jenkinsfile
This commit is contained in:
Vendored
+4
-4
@@ -14,10 +14,10 @@ node("docker-node") {
|
||||
stage "publish"
|
||||
app.push("${env.BUILD_NUMBER}")
|
||||
app.push("latest")
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = 'FAILURE'
|
||||
|
||||
stage('Deploy on K8s'){
|
||||
sh "/usr/local/bin/kubectl -n media delete po watcher-0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user