Replaced dir block by 'cd' command

This commit is contained in:
Marcin-Ramotowski
2025-07-10 22:16:48 +02:00
parent c37d92a4cf
commit 2f0ab04997

View File

@ -62,8 +62,7 @@ pipeline {
sh 'git clone ${DEPLOY_REPO} --branch fluxcd' sh 'git clone ${DEPLOY_REPO} --branch fluxcd'
} }
} }
sh 'cd user-microservice-deploy/apps/user-microservice'
dir('user-microservice-deploy/apps/user-microservice') {
sh ''' sh '''
# Podmień tag obrazu w pliku deploy.yaml # Podmień tag obrazu w pliku deploy.yaml
awk -v commit="$GIT_COMMIT" ' awk -v commit="$GIT_COMMIT" '
@ -89,5 +88,4 @@ pipeline {
} }
} }
} }
}
} }