add post action with email

This commit is contained in:
Samira Ouaaz 2021-11-18 00:11:24 -05:00
parent 91dc2a9979
commit 70989e8021

3
Jenkinsfile vendored
View file

@ -22,8 +22,7 @@ pipeline {
} }
post { post {
always { always {
junit 'test-reports/results.xml' //4           mail to:"ouaazs@algonquincollege.com",
          mail to:"buildAdmin@mycompany.com",
          subject:"STATUS FOR PROJECT: ${currentBuild.fullDisplayName}",           subject:"STATUS FOR PROJECT: ${currentBuild.fullDisplayName}",
          body: "RESULT: ${currentBuild.result}"             body: "RESULT: ${currentBuild.result}"  
} }