调整环境变量
This commit is contained in:
1 parent
9de63c916c
commit
db5fbe1697
27 files changed
+579
-1868
No files matched your search
Vendored
+2
-2
@@ -216,7 +216,7 @@ pipeline {
|
||||
when {
|
||||
expression {
|
||||
// test 分支部署到 test 环境 / test branch deploys to test environment
|
||||
env.BRANCH_NAME == 'test' &&
|
||||
(env.BRANCH_NAME == 'test') &&
|
||||
(env.FRONTEND_CHANGED == 'true' || env.BACKEND_CHANGED == 'true' || env.DEPLOY_CONFIG_CHANGED == 'true')
|
||||
}
|
||||
}
|
||||
@@ -245,7 +245,7 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Deploy Prod') {
|
||||
// 默认允许分支:prod、sophie、sophie-wecom。其它分支在 Job 环境变量设 EXTRA_PROD_BRANCHES=分支a,分支b
|
||||
// 默认允许分支:prod、sophie。其它分支在 Job 环境变量设 EXTRA_PROD_BRANCHES=分支a,分支b
|
||||
// 临时免确认试跑:SKIP_PROD_DEPLOY_INPUT=true
|
||||
when {
|
||||
expression {
|
||||
|
||||
Reference in new issue
Block a user