modified
parent
a9aad30f8b
commit
118b848572
|
|
@ -165,6 +165,7 @@ pipeline {
|
||||||
stage('Send Report') {
|
stage('Send Report') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
dir("/opt/workspace/qm_report/") {
|
||||||
try {
|
try {
|
||||||
emailext subject: env.JOB_NAME,
|
emailext subject: env.JOB_NAME,
|
||||||
mimeType: 'text/html',
|
mimeType: 'text/html',
|
||||||
|
|
@ -177,7 +178,7 @@ pipeline {
|
||||||
// to: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, arnel.arnautovic@nttdata.com, patryk.gudalewicz.bp@nttdata.com, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, michaela.jaeger@bmw.de, OOC-Support@bmwgroup.com, Andreas.DB.Danzer@bmwgroup.com',
|
// to: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, arnel.arnautovic@nttdata.com, patryk.gudalewicz.bp@nttdata.com, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, michaela.jaeger@bmw.de, OOC-Support@bmwgroup.com, Andreas.DB.Danzer@bmwgroup.com',
|
||||||
to: 'Arnel.Arnautovic@nttdata.com',
|
to: 'Arnel.Arnautovic@nttdata.com',
|
||||||
replyTo: 'coco-apm@bmw.de',
|
replyTo: 'coco-apm@bmw.de',
|
||||||
attachmentsPattern: '/opt/workspace/qm_report/*.xlsx'
|
attachmentsPattern: '*.xlsx'
|
||||||
} catch ( mailExc ) {
|
} catch ( mailExc ) {
|
||||||
echo "Sending Email Failed: ${mailExc}"
|
echo "Sending Email Failed: ${mailExc}"
|
||||||
}
|
}
|
||||||
|
|
@ -185,6 +186,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
failure {
|
failure {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue