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

View File

@ -1,4 +1,4 @@
FROM harbor.ervine.dev/library/x86_64/alpine/alpine:3.12
FROM harbor.ervine.dev/public/x86_64/alpine:v3.12
LABEL maintainer "Jonathan Ervine <docker@ervine.org>" architecture="x86_64" version="10.3.15-r0" date="05022020"
RUN apk --no-cache --update add mariadb mariadb-client pwgen && \

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-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
}