chore: Jenkinsfile 수정 (#2)

This commit is contained in:
SEAN 2026-01-19 13:00:15 +09:00
parent eddaf5e368
commit d7b9ed032d

4
Jenkinsfile vendored
View File

@ -21,10 +21,8 @@ pipeline {
TARGET_BUILD_CONTAINER = 'spms-back-build-release'
TARGET_RUN_CONTAINER = 'spms-run-release'
echo ">>> [PROD Mode] SET Release Container"
} else {
error "This branch(${branchName}) can't set container (USE develop or main branch)"
}
else if (branchName == 'staging') {
else if (branchName.startsWith('hotfix/') || branchName.startsWith('release/')) {
TARGET_BUILD_CONTAINER = 'spms-back-build-staging'
TARGET_RUN_CONTAINER = 'spms-run-staging'
echo "[STG Mode] SET STAGING Container"