From a5bd063b84e8c3d09bb18662b609ec21e5df2ee8 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 20 Jul 2020 15:14:56 +0800 Subject: [PATCH] Added credentials --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6931477..6d3e447 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ spec: node(POD_LABEL) { stage('Build with Kaniko') { - git 'https://git.ervine.org/jonny/kubespray-installer' + git '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' }