From d2ece63ab25eb131cb4240bc78401dd8e7ee43a8 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Fri, 20 Jul 2018 13:35:01 -0400 Subject: Keyword arg not behaving; expand to cover case of no arg. --- vars/utils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vars/utils.groovy') diff --git a/vars/utils.groovy b/vars/utils.groovy index e0e3494..bfc90f9 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -17,7 +17,7 @@ def scm_checkout(skip_disable=false) { stage("Setup") { checkout(scm) println("skip_disable = ${skip_disable.toString()}") - if (skip_disable.toString() == 'false') { + if (skip_disable.toString() == 'false' || skip_disable == null) { // Obtain the last commit message and examine it for skip directives. logoutput = sh(script:"git log -1 --pretty=%B", returnStdout: true).trim() println(logoutput) -- cgit