add post action with email
This commit is contained in:
parent
91dc2a9979
commit
70989e8021
1 changed files with 1 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue