diff --git a/Jenkinsfile b/Jenkinsfile index e18e4d1..f586433 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -82,8 +82,8 @@ pipeline { echo "Updating manifests to tag: ${env.IMAGE_TAG_FINAL}" sh """ - yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-be:${env.IMAGE_TAG_FINAL}"' base/backend/backend-deployment.yaml - yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-fe:${env.IMAGE_TAG_FINAL}"' base/frontend/frontend-deployment.yaml + yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-be:${env.IMAGE_TAG_FINAL}"' patch-deployment.yaml + yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-fe:${env.IMAGE_TAG_FINAL}"' patch-deployment.yaml """ } } @@ -100,7 +100,7 @@ pipeline { 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.replace('https://', '')} ${env.BRANCH}) """ - echo "✅ Manifest repo updated successfully" + echo "Manifest repo updated successfully" } } } @@ -115,10 +115,10 @@ pipeline { post { success { - echo "🎉 GitOps pipeline completed successfully!" + echo "GitOps pipeline completed successfully!" } failure { - echo "❌ Pipeline failed. Check previous logs." + echo "Pipeline failed. Check previous logs." } } }