From 8d1a740574bc1f2cca85cb9dfdecf365435aa5fd Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 9 Nov 2020 14:13:57 +0800 Subject: [PATCH] Fixed git branch --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b558b59..d6eb656 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ 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' }