aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2018-07-20 13:35:01 -0400
committerGitHub <noreply@github.com>2018-07-20 13:35:01 -0400
commitd2ece63ab25eb131cb4240bc78401dd8e7ee43a8 (patch)
treef706b13905e34ac2a703677697d2b45469f37fb4
parentbebb830c719ecbb5f5c3e2b7c04fb0a789993b89 (diff)
downloadjscu_refactor-d2ece63ab25eb131cb4240bc78401dd8e7ee43a8.tar.gz
Keyword arg not behaving; expand to cover case of no arg.
-rw-r--r--vars/utils.groovy2
1 files changed, 1 insertions, 1 deletions
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)