summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authortgrogers <[email protected]>2023-02-11 16:56:19 -0500
committertgrogers <[email protected]>2023-02-11 16:56:19 -0500
commit5cfcc39fa877ceef377b238407f9598f0ec9be3c (patch)
tree766eed3fe6f621db1a144340971adb3d531dfbf1 /Jenkinsfile
parentf5d21b116f927a9c8e2630a26ada045dcc844242 (diff)
Getting rid of some busted old email templates
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile9
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!",
}
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}",
}
}