Use extended email to send emails on failed build
This commit is contained in:
parent
1bf41f1af0
commit
f41825d4b4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
echo "Execute dummy build job: ${CAUSE_ERROR}"
|
||||
if (CAUSE_ERROR) {
|
||||
if (CAUSE_ERROR == true) {
|
||||
error("Causing error")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue