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 {
always {
junit 'test-reports/results.xml' //4
          mail to:"buildAdmin@mycompany.com",
          mail to:"ouaazs@algonquincollege.com",
          subject:"STATUS FOR PROJECT: ${currentBuild.fullDisplayName}",
          body: "RESULT: ${currentBuild.result}"  
}