add post action with email
This commit is contained in:
parent
838dc9b5ec
commit
91dc2a9979
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -23,6 +23,9 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
junit 'test-reports/results.xml' //4
|
junit 'test-reports/results.xml' //4
|
||||||
|
mail to:"buildAdmin@mycompany.com",
|
||||||
|
subject:"STATUS FOR PROJECT: ${currentBuild.fullDisplayName}",
|
||||||
|
body: "RESULT: ${currentBuild.result}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue