Use extended email to send emails on failed build
This commit is contained in:
parent
66ffedf359
commit
404cdef36b
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ pipeline {
|
|||
stage('Dummy build job') {
|
||||
steps {
|
||||
script {
|
||||
echo "Params:\n${params.toString()}"
|
||||
echo "Execute dummy build job: ${CAUSE_ERROR}"
|
||||
if (CAUSE_ERROR == true) {
|
||||
error("Causing error")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue