aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2018-07-20 13:13:20 -0400
committerGitHub <noreply@github.com>2018-07-20 13:13:20 -0400
commitbebb830c719ecbb5f5c3e2b7c04fb0a789993b89 (patch)
tree50b7301603511a857bcba52be2a2c21950731ed2
parent81ef77e1ac79d493d9062723dacd9aae94d02f7b (diff)
downloadjscu_refactor-bebb830c719ecbb5f5c3e2b7c04fb0a789993b89.tar.gz
Explicitly convert skip_disable to string
-rw-r--r--vars/utils.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy
index 9839ec3..e0e3494 100644
--- a/vars/utils.groovy
+++ b/vars/utils.groovy
@@ -16,8 +16,8 @@ def scm_checkout(skip_disable=false) {
node("on-master") {
stage("Setup") {
checkout(scm)
- println("skip_disable = ${skip_disable}")
- if (skip_disable == 'false') {
+ println("skip_disable = ${skip_disable.toString()}")
+ if (skip_disable.toString() == 'false') {
// Obtain the last commit message and examine it for skip directives.
logoutput = sh(script:"git log -1 --pretty=%B", returnStdout: true).trim()
println(logoutput)