diff options
| -rw-r--r-- | vars/utils.groovy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy index f405c89..dbb0713 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -58,8 +58,9 @@ def concurrent(configs) { // Test for expandable if (varvalue.contains("\$")) { // Get $VAR segment - def seg = varvalue =~ /\$.*:|\$.*/ + def match = varvalue =~ /\$.*:|\$.*/ // generate new value with '$VAR's replaced + def seg = match.group(1) println("seg = ${seg}") } } |
