Email on Jenkins build failure
This commit is contained in:
parent
dd8e7d67aa
commit
816de59027
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -15,4 +15,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
failure {
|
||||||
|
mail to: "${env.EMAIL}",
|
||||||
|
subject: "$JOB_NAME - Build # $BUILD_NUMBER - ${currentBuild.result}!",
|
||||||
|
body: "Check console output at $BUILD_URL to view the results."
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user