Bumped build

This commit is contained in:
Jonathan Ervine 2020-07-15 16:32:56 +08:00
parent a9c3016a98
commit 418bed735b

3
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
node("docker-node") {
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
git branch: "3.10.5", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine-watcher", credentialsId: 'jenkins-to-git'
git branch: "master", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine-watcher", credentialsId: 'jenkins-to-git'
sh "git rev-parse HEAD > .git/commit-id"
def commit_id = readFile('.git/commit-id').trim()
@ -14,6 +14,7 @@ node("docker-node") {
stage "publish"
app.push("${env.BUILD_NUMBER}")
app.push("latest")
app.push("3.10.5")
stage('Deploy on K8s'){
sh "/usr/local/bin/kubectl -n media delete po watcher-0"