diff options
author | Matt Rendina <rendinam@users.noreply.github.com> | 2018-07-20 13:35:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-20 13:35:01 -0400 |
commit | d2ece63ab25eb131cb4240bc78401dd8e7ee43a8 (patch) | |
tree | f706b13905e34ac2a703677697d2b45469f37fb4 | |
parent | bebb830c719ecbb5f5c3e2b7c04fb0a789993b89 (diff) | |
download | jscu_refactor-d2ece63ab25eb131cb4240bc78401dd8e7ee43a8.tar.gz |
Keyword arg not behaving; expand to cover case of no arg.
-rw-r--r-- | vars/utils.groovy | 2 |
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) |