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") } }