diff --git a/Jenkinsfile b/Jenkinsfile index d6afbc5..dea6af9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { } 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"