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 ){