From 03804bd63cfe9155d84101f8a7c2845a8f224808 Mon Sep 17 00:00:00 2001 From: jenkins-x-bot Date: Fri, 11 Sep 2020 17:21:18 +0800 Subject: [PATCH] Updated build with notify --- Dockerfile | 4 ++-- Jenkinsfile | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd6cbf3..f9a346f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Base on latest (edge) alpine image -FROM harbor.ervine.dev/library/x86_64/alpine/alpine-3.12 +FROM harbor.ervine.dev/public/x86_64/alpine:v3.12 -MAINTAINER “Jonathan Ervine” +LABEL "MAINTAINER Jonathan Ervine " # Install updates ENV LANG='en_US.UTF-8' \ diff --git a/Jenkinsfile b/Jenkinsfile index 4fac1af..55d9a30 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,8 +27,11 @@ spec: stage('Build with Kaniko') { git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine.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/python:3.12.0 --destination=harbor.ervine.dev/library/x86_64/alpine/python:3.12' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/python:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/python:v3.12' } } + stage('Notify GChat') { + hangoutsNotify message: "Python environment on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false + } } }