update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters {
|
||||
choice(name: 'ENV', choices: ['prod', 'uat', 'beta'], description: 'Choose Environment')
|
||||
choice(name: 'ENV', choices: ['uat', 'beta'], description: 'Choose Environment')
|
||||
string(name: 'CI_JOB_BUILD_NUMBER', defaultValue: '', description: 'Build number of CI Job')
|
||||
}
|
||||
environment {
|
||||
@@ -35,9 +35,6 @@ pipeline {
|
||||
case 'uat':
|
||||
env.CI_JOB_NAME = env.CI_JOB_NAME_UAT
|
||||
break
|
||||
case 'prod':
|
||||
env.CI_JOB_NAME = env.CI_JOB_NAME_PROD
|
||||
break
|
||||
case 'beta':
|
||||
env.CI_JOB_NAME = env.CI_JOB_NAME_BETA
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user