From f41825d4b4a30037be8ffa1d834154884711ec70 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sat, 20 Nov 2021 21:17:53 +0000 Subject: [PATCH] Use extended email to send emails on failed build --- build/postactionstest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/postactionstest.groovy b/build/postactionstest.groovy index 62f5cd4..e02d91f 100644 --- a/build/postactionstest.groovy +++ b/build/postactionstest.groovy @@ -13,7 +13,7 @@ pipeline { steps { script { echo "Execute dummy build job: ${CAUSE_ERROR}" - if (CAUSE_ERROR) { + if (CAUSE_ERROR == true) { error("Causing error") } }