From 95ad1c24dfdb95de73148361fa790c5b5e1dcee8 Mon Sep 17 00:00:00 2001 From: adelyaou Date: Wed, 22 Oct 2025 09:48:11 +0700 Subject: [PATCH] fix: jenkinsfile replace invalid # with Groovy replace() for manifest push --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 88de940..557e3e5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -102,7 +102,7 @@ pipeline { git config user.email "jenkins@local" git config user.name "jenkins" git add -A - git diff --staged --quiet || (git commit -m "chore: update image to ${env.IMAGE_TAG_FINAL}" && git push https://${GIT_USER}:${GIT_PASS}@${env.MANIFEST_REPO#https://} ${env.BRANCH}) + git diff --staged --quiet || (git commit -m "chore: update image to ${env.IMAGE_TAG_FINAL}" && git push https://${GIT_USER}:${GIT_PASS}@${env.MANIFEST_REPO.replace('https://', '')} ${env.BRANCH}) """ echo "Manifest repo updated successfully" }