From 9830b20587d97a7c4383a1f103b650285a997808 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 9 Nov 2020 10:57:57 +0800 Subject: [PATCH] Added dev tags --- Dockerfile | 0 Jenkinsfile | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 Dockerfile diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/Jenkinsfile b/Jenkinsfile index b558b59..6c256d4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,14 +25,14 @@ spec: node(POD_LABEL) { stage('Build with Kaniko') { - git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git' + git branch: "dev", url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git' container('kaniko') { - sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/hockey:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey:v3.12' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12' } } + stage('Notify gchat') { + hangoutsNotify message: "Hockey (dev) Application on Alpine Linux 3.12.0 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false + } } } -stage('Notify gchat') { - hangoutsNotify message: "Hockey Application on Alpine Linux 3.12.0 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false -}