Add GChat message

This commit is contained in:
Jonathan Ervine 2020-08-12 17:01:25 +08:00
parent 61799cf98c
commit 702ccf9725

6
Jenkinsfile vendored
View File

@ -27,8 +27,12 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-3.10.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:3.10.5 --destination=harbor.ervine.dev/library/x86_64/alpine:3.10'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine:3.10.5 --destination=harbor.ervine.dev/public/x86_64/alpine:3.10'
}
}
}
}
stage('Notify gchat') {
hangoutsNotify message: "Alpine 3.10.5 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}