From 0486d41096026d0a5ce08903e5e66b828a329794 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Wed, 17 Nov 2021 22:00:24 +0000 Subject: [PATCH] Add use of post build info json --- build/postactions.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/postactions.groovy b/build/postactions.groovy index 728765f..0895d27 100644 --- a/build/postactions.groovy +++ b/build/postactions.groovy @@ -49,7 +49,7 @@ def getActionJobName(postbuildactions, String action, String alternativeparamnam } } } - if (!jobname) { + if (jobname) { def jobitem = Jenkins.instance.getItemByFullName(jobname) if (jobitem) { if (!jobitem.isBuildable()) {