Added notification message via GChat

This commit is contained in:
Jonathan Ervine
2020-08-16 21:34:20 +08:00
parent 6e096946fe
commit 9ade9333e0
2 changed files with 6 additions and 2 deletions
Vendored
+5 -1
View File
@@ -27,8 +27,12 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-mariadb.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine/mariadb:3.12.0 --destination=harbor.ervine.dev/library/x86_64/alpine/mariadb:3.12'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/mariadb:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/mariadb:v3.12'
}
}
}
}
stage('Notify gchat') {
hangoutsNotify message: "Alpine Linux 3.12.0 with MariaDB has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}