aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-12-01 12:05:37 -0500
committerMatt Rendina <mrendina@stsci.edu>2017-12-01 12:05:37 -0500
commite2d45102316f9121e643703e532ef963e600db23 (patch)
tree9026fa29fce5f779ddea9ad13ea9a2bfc38e874a
parentb8734d897e7e5b0fbc6714f6313f59fe66866ce5 (diff)
downloadjscu_refactor-e2d45102316f9121e643703e532ef963e600db23.tar.gz
Test map inclusion, simplified
-rw-r--r--vars/utils.groovy4
1 files changed, 3 insertions, 1 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy
index 0e2b904..c4093e8 100644
--- a/vars/utils.groovy
+++ b/vars/utils.groovy
@@ -56,7 +56,9 @@ def concurrent(configs) {
println("path in paths: ${path}")
if (path =~ /\$.*:|\$.*/) {
def subvar = path[1..-1]
- var_exists = sh(script: "[ ! -z ${subvar} ]", returnStatus: true)
+ //var_exists = sh(script: "[ ! -z ${subvar} ]", returnStatus: true)
+ def var_val = sh(script: "[ ! -z ${subvar} ]", returnStdout: true)
+ println(var_val)
// if (var_exists) {
// println("${subvar} exists in all vars.")
// var_value = sh(script: "echo ${subvar}", returnStdout: true)