init commit
parent
5792e5dd6e
commit
7a69bd8c80
|
|
@ -59,7 +59,7 @@
|
|||
//is the environment yaml even that good, should python be refactored to only execute one environment at time
|
||||
|
||||
|
||||
stage('Detect Jenkins Environment') {
|
||||
stage('Detect Jenkins Environment CN') {
|
||||
when {
|
||||
expression { return env.JENKINS_URL ==~ 'china' }
|
||||
}
|
||||
|
|
@ -70,15 +70,20 @@
|
|||
print env.JENKINS_URL
|
||||
print env.BRANCH_NAME
|
||||
}
|
||||
|
||||
}
|
||||
stage('Detect Jenkins Environment EMEA') {
|
||||
when {
|
||||
expression { return env.JENKINS_URL =!~ 'china' }
|
||||
}
|
||||
steps {
|
||||
print env.JENKINS_URL
|
||||
print env.BRANCH_NAME
|
||||
|
||||
//env.JENKINS_URL
|
||||
//env.BRANCH_NAME
|
||||
print env.JENKINS_URL
|
||||
print env.BRANCH_NAME
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue