add post action with email

This commit is contained in:
Samira Ouaaz 2021-11-18 00:14:31 -05:00
parent 70989e8021
commit 00fc0effc1

2
Jenkinsfile vendored
View file

@ -22,7 +22,7 @@ pipeline {
} }
post { post {
always { always {
          mail to:"ouaazs@algonquincollege.com", mail to:"ouaazs@algonquincollege.com",
          subject:"STATUS FOR PROJECT: ${currentBuild.fullDisplayName}",           subject:"STATUS FOR PROJECT: ${currentBuild.fullDisplayName}",
          body: "RESULT: ${currentBuild.result}"             body: "RESULT: ${currentBuild.result}"  
} }