init commit

OPMAAS-3581
rforstner 2021-11-23 18:41:15 +01:00
parent e7a47424a6
commit d92a232269
1 changed files with 4 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -75,10 +75,10 @@
} }
stage('Detect Jenkins Environment EMEA') { stage('Detect Jenkins Environment EMEA') {
when { when {
expression { return env.JENKINS_URL =!~ 'china' } expression { return env.JENKINS_URL == 'https://jaws.bmwgroup.net/opapm/' }
} }
steps { steps {
sh touch test.csv
//env.JENKINS_URL //env.JENKINS_URL
//env.BRANCH_NAME //env.BRANCH_NAME
print env.JENKINS_URL print env.JENKINS_URL
@ -94,7 +94,8 @@
body: 'test', body: 'test',
to: 'rene.forstner@nttdata.com', to: 'rene.forstner@nttdata.com',
replyTo: 'rene.forstner@nttdata.com', replyTo: 'rene.forstner@nttdata.com',
from: 'coco-apm@bmw.de' from: 'coco-apm@bmw.de',
attachmentsPattern: 'test.csv'
} }
catch ( mailExc ){ catch ( mailExc ){