Fixed git URL

This commit is contained in:
Jonathan Ervine 2020-07-21 19:33:50 +08:00
parent 163325f668
commit 61799cf98c

2
Jenkinsfile vendored
View File

@ -25,7 +25,7 @@ spec:
node(POD_LABEL) {
stage('Build with Kaniko') {
git url: 'ssh:://git@git.ervine.org/jonny/x86_64-alpine-3.10.git', credentialsId: 'jenkins-to-git'
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-3.10.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine:3.10.5 --destination=harbor.ervine.dev/library/x86_64/alpine:3.10'
}