diff --git a/Jenkinsfile b/Jenkinsfile index a15db40..81160b5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 } + } }