diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index 2013144..aa91558 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -57,9 +57,10 @@ pipeline { git config --global user.name "jenkins[bot]" git config --global user.email "jenkins@marcin00.pl" - - git clone ${DEPLOY_REPO} --branch jenkins-kubernetes ''' + sshagent(['gitea-deploy-key']) { + sh 'git clone ${DEPLOY_REPO} --branch jenkins-kubernetes' + } } dir('user-microservice-deploy') {