I'm dealing with similar issues to you, and don't yet have a good solution.
However, a quick note: this -
On Wednesday, October 21, 2015 at 1:44:17 PM UTC-7, euphxenos wrote:
>
> node() {
> build job: 'parameterized-build-job'
> }
>
is unnecessary. You don't need to
To answer my own question, this works for iterating across a map in a
groovy workflow:
def nodes = [:]
nodes['alpha'] = [
'OPT': 'alpha',
]
nodes['beta'] = [
'OPT': 'beta',
]
def nodelist = nodes.keySet().toList()
def paramnodes = [:]
def nodename = null
for (int i = 0; i <
I'm new to Groovy and the Workflow plugin, so perhaps this is something
obvious. I'm trying to create a set of threads to run in parallel, each
one calling a parameterized job. If I do this, it works:
def paramnodes = [:]
paramnodes['alpha'] = {
node() {
build job: