From 410418aade8963c8edd871594a7dcf3bd955bad7 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Fri, 1 Dec 2017 15:03:13 -0500 Subject: Tidy --- vars/utils.groovy | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/vars/utils.groovy b/vars/utils.groovy index 4e9dbfd..3285bd7 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -49,21 +49,21 @@ def concurrent(configs) { } } - for (var in myconfig.env_vars) { - // Get varname - varname = var.tokenize("=")[0] - // Get value - varvalue = var.tokenize("=")[1] - // Test for expandable - if (varvalue.contains("\$")) { - println("$ found : ${varvalue}") - // Get $VAR segment - def match = varvalue =~ /\$.*:|\$.*/ - // generate new value with '$VAR's replaced - def seg = match.group(1) - println("seg = ${seg}") - } - } + //for (var in myconfig.env_vars) { + // // Get varname + // varname = var.tokenize("=")[0] + // // Get value + // varvalue = var.tokenize("=")[1] + // // Test for expandable + // if (varvalue.contains("\$")) { + // println("found : ${varvalue}") + // // Get $VAR segment + // def match = varvalue =~ /\$.*:|\$.*/ + // // generate new value with '$VAR's replaced + // def seg = match.group(1) + // println("seg = ${seg}") + // } + //} println("task: myconfig.nodetype = ${myconfig.nodetype}") println("task: myconfig.build_mode = ${myconfig.build_mode}") -- cgit