From c37d92a4cff791760eee5b00247ce46a9a901b1b Mon Sep 17 00:00:00 2001 From: Marcin-Ramotowski Date: Thu, 10 Jul 2025 21:43:48 +0200 Subject: [PATCH] Updated paths and branch in deploy repo --- .jenkins/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ''' } }