From d92a232269780287d78cad9f95c37a7bb1eedd05 Mon Sep 17 00:00:00 2001 From: rforstner Date: Tue, 23 Nov 2021 18:41:15 +0100 Subject: [PATCH] init commit --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c1f3910..b885608 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -75,10 +75,10 @@ } stage('Detect Jenkins Environment EMEA') { when { - expression { return env.JENKINS_URL =!~ 'china' } + expression { return env.JENKINS_URL == 'https://jaws.bmwgroup.net/opapm/' } } steps { - + sh touch test.csv //env.JENKINS_URL //env.BRANCH_NAME print env.JENKINS_URL @@ -94,7 +94,8 @@ body: 'test', to: 'rene.forstner@nttdata.com', replyTo: 'rene.forstner@nttdata.com', - from: 'coco-apm@bmw.de' + from: 'coco-apm@bmw.de', + attachmentsPattern: 'test.csv' } catch ( mailExc ){