diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index b393ed9..044190f 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -59,11 +59,11 @@ pipeline { git config --global user.email "jenkins@marcin00.pl" ''' sshagent(['gitea-deploy-key']) { - sh 'git clone ${DEPLOY_REPO} --branch jenkins-kubernetes' + sh 'git clone ${DEPLOY_REPO} --branch fluxcd' } } - dir('user-microservice-deploy') { + dir('user-microservice-deploy/apps/user-microservice') { sh ''' # Podmień tag obrazu w pliku deploy.yaml awk -v commit="$GIT_COMMIT" ' @@ -82,7 +82,7 @@ pipeline { sh ''' git add deploy.yaml git diff-index --quiet HEAD || git commit -m "JENKINS: Changed deployed version to $GIT_COMMIT" - git push origin jenkins-kubernetes + git push origin fluxcd ''' } }