hotfix/#2-setup-staging #3
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user