diff options
| -rw-r--r-- | Jenkinsfile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index a3db3e5..f6676bf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -90,20 +90,17 @@ pipeline { } post { success { -// sh 'git remote rm upstream' - emailext body:'''${SCRIPT, template="groovy-html.success.template"}''', + emailext body: "See ${BUILD_URL}.", recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']], - subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - Success!", - attachmentsPattern: 'correl.*.txt', + subject: "[AALP Jenkins] Build ${JOB_NAME} #${BUILD_NUMBER} - Success!", to: '[email protected]' } failure { -// sh 'git remote rm upstream' emailext body: "See ${BUILD_URL}", recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']], - subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - ${currentBuild.result}", + subject: "[AALP Jenkins] Build ${JOB_NAME} #${BUILD_NUMBER} - ${currentBuild.result}", to: '[email protected]' } } |
