mirror of
https://github.com/won-ktds/smarketing-backend.git
synced 2025-12-06 07:06:24 +00:00
Update Jenkinsfile
This commit is contained in:
parent
dcee8e45fd
commit
261404dd72
34
smarketing-java/deployment/Jenkinsfile
vendored
34
smarketing-java/deployment/Jenkinsfile
vendored
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user