Update Jenkinsfile

This commit is contained in:
John Hanzu Kim 2025-06-19 14:59:27 +09:00 committed by GitHub
parent dcee8e45fd
commit 261404dd72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,11 +194,11 @@ podTemplate(
git add .
git commit -m "Update SMarketing services to ${imageTag}
Services updated:
${services.collect { "- ${it}: ${props.registry}/${props.image_org}/${it}:${imageTag}" }.join('\n')}
Services updated:
${services.collect { "- ${it}: ${props.registry}/${props.image_org}/${it}:${imageTag}" }.join('\n')}
Build: ${env.BUILD_NUMBER}
Commit: ${env.GIT_COMMIT}"
Build: ${env.BUILD_NUMBER}
Commit: ${env.GIT_COMMIT}"
git push origin main
echo "✅ Successfully updated manifest repository"
@ -212,26 +212,24 @@ podTemplate(
}
stage('Trigger ArgoCD Sync') {
steps {
script {
echo """
🎯 CI Pipeline 완료!
🎯 CI Pipeline 완료!
📦 빌드된 이미지들:
${services.collect { "- ${props.registry}/${props.image_org}/${it}:${imageTag}" }.join('\n')}
📦 빌드된 이미지들:
${services.collect { "- ${props.registry}/${props.image_org}/${it}:${imageTag}" }.join('\n')}
🔄 ArgoCD 동작:
- ArgoCD가 manifest repository 변경사항을 자동으로 감지합니다
- 각 서비스별 Application이 새로운 이미지로 동기화됩니다
- ArgoCD UI에서 배포 상태를 모니터링하세요
🔄 ArgoCD 동작:
- ArgoCD가 manifest repository 변경사항을 자동으로 감지합니다
- 각 서비스별 Application이 새로운 이미지로 동기화됩니다
- ArgoCD UI에서 배포 상태를 모니터링하세요
🌐 ArgoCD UI: [ArgoCD 접속 URL]
📁 Manifest Repo: ${MANIFEST_REPO}
🌐 ArgoCD UI: [ArgoCD 접속 URL]
📁 Manifest Repo: ${MANIFEST_REPO}
"""
}
}
}
}
post {
always {
@ -242,9 +240,9 @@ podTemplate(
}
success {
echo """
✅ CI Pipeline 성공!
🏷️ 새로운 이미지 태그: ${imageTag}
🔄 ArgoCD가 자동으로 배포를 시작합니다
✅ CI Pipeline 성공!
🏷️ 새로운 이미지 태그: ${imageTag}
🔄 ArgoCD가 자동으로 배포를 시작합니다
"""
}
failure {