From 7a69bd8c80a76d767fdf4590984f84be02263581 Mon Sep 17 00:00:00 2001 From: rforstner Date: Tue, 23 Nov 2021 12:59:07 +0100 Subject: [PATCH] init commit --- Jenkinsfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 } + } }