From 6a4073f2e93cd983f3b48968288986fd87d4fccc Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 20 Jul 2020 15:17:46 +0800 Subject: [PATCH] Added credentials --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6d3e447..d043cfa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ spec: node(POD_LABEL) { stage('Build with Kaniko') { - git 'ssh://git@git.ervine.org/jonny/kubespray-installer', credentialsId: 'jenkins-to-git' + git url: 'ssh://git@git.ervine.org/jonny/kubespray-installer', credentialsId: 'jenkins-to-git' container('kaniko') { sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine/htpc-mgr:latest --destination=harbor.ervine.dev/library/x86_64/alpine/htpc-mgr:3.12' }