Scripted Pipeline 문법 오류 수정

- when 지시어를 if 문으로 변경하여 Scripted Pipeline 호환성 확보
- SonarQube 조건부 실행을 위한 올바른 문법 적용
- 백엔드 CI/CD 가이드에 동일한 문법 반영
This commit is contained in:
hiondal 2025-09-13 15:32:23 +09:00
parent d596780a64
commit 8064def373

View File

@ -101,10 +101,8 @@ podTemplate(
}
}
if (!skipSonarQube) {
stage('SonarQube Analysis & Quality Gate') {
when {
not { skipSonarQube }
}
container('gradle') {
withSonarQubeEnv('SonarQube') {
// 각 서비스별 테스트 및 SonarQube 분석
@ -129,6 +127,7 @@ podTemplate(
}
}
}
}
stage('Build & Push Images') {
timeout(time: 30, unit: 'MINUTES') {