diff options
| author | JRPan <[email protected]> | 2023-02-13 15:14:46 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-13 15:14:46 -0500 |
| commit | 948c0e1a0e379e37e60c83b9ab622217522aea86 (patch) | |
| tree | e67cdafd24bd5d8d16efb4b7165f8268694d75aa | |
| parent | 74cdacdd3dcdf9c144f1dd6aa4d9527d385ddfa9 (diff) | |
| parent | d1f678732ff25fea57f888433cc9c57e58c75fe2 (diff) | |
Merge pull request #46 from tgrogers/dev
Getting rid of old email template
| -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]' } } |
