Groovy web console

subscribe to the feed Subscribe
to this
site
stupid groovy (via #groovywebconsole)
tweet this snippet Tweet
this
script

stupid groovy

Published 5 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def buildInfo =  [bob: "a", bill: "b"]
def build_vars = [:]
buildInfo.each{k,v -> build_vars["build_info_${k}"] = v}
print build_vars