init commit

master
rforstner 2021-11-23 18:36:35 +01:00
parent b71925b509
commit e7a47424a6
1 changed files with 14 additions and 10 deletions

22
Jenkinsfile vendored
View File

@ -87,16 +87,20 @@
} }
stage('Send report') { stage('Send report') {
try{ steps {
mail subject: env.JOB_NAME, script {
body: 'test', try {
to: 'rene.forstner@nttdata.com', mail subject: env.JOB_NAME,
replyTo: 'rene.forstner@nttdata.com', body: 'test',
from: 'coco-apm@bmw.de' to: 'rene.forstner@nttdata.com',
replyTo: 'rene.forstner@nttdata.com',
from: 'coco-apm@bmw.de'
} }
catch ( mailExc ){ catch ( mailExc ){
echo "Sending Email Failed: ${mailExc}" echo "Sending Email Failed: ${mailExc}"
}
}
} }
} }
} }