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