Added GChat message

This commit is contained in:
Jonathan Ervine 2020-08-12 17:11:51 +08:00
parent 78ef5bb996
commit 3639eccffd

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.11.git', credentialsId: 'git-to-jenkins'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine:3.11.6 --destination=harbor.ervine.dev/library/x86_64/alpine:3.11'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine:3.11.6 --destination=harbor.ervine.dev/public/x86_64/alpine:3.11'
}
}
}
}
stage('Notify gchat') {
hangoutsNotify message: "Alpine 3.11.6 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}