From d0911c3cdbda4a05c5a0d6fd55017c39e230fb82 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Tue, 21 Jul 2020 19:32:24 +0800 Subject: [PATCH] Fixed git command --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9b6679a..b5542b8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ spec: node(POD_LABEL) { stage('Build with Kaniko') { - git 'https://git.ervine.org/jonny/x86_64-alpine-3.11.git', credentialsId: 'git-to-jenkins' + 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' }