add post action with email

This commit is contained in:
Samira Ouaaz 2021-11-18 00:08:51 -05:00
parent 838dc9b5ec
commit 91dc2a9979

3
Jenkinsfile vendored
View file

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