Re: variables in parallel tasks in pipeline plugin.

2016-03-19 Thread John Thompson
hes On Thursday, March 17, 2016 at 10:57:01 AM UTC-4, John Thompson wrote: > > > I have code like the following: (obviously more complicated, but this > shows the problem) > > for (int i = 0; i < list.size(); i++) { > thing = list.get(i) > print thing > b

variables in parallel tasks in pipeline plugin.

2016-03-19 Thread John Thompson
I have code like the following: (obviously more complicated, but this shows the problem) for (int i = 0; i < list.size(); i++) { thing = list.get(i) print thing branches[thing] = { node { print thing } } parallel branches As it's building the branches, it

Multibranch workflows with submodules (Jenkins 2.0)

2016-03-09 Thread John Thompson
This might be one of those cases where I'm trying to solve the problem in the wrong way, so I'll start at the beginning. I have a workflow that draws from several repos. Currently, I have the workflow in its own repo, and let's call them RepoA and RepoB downloading as part of the workflow.

Cloud Formation parameter field doesn't seem to parse variables.

2015-08-17 Thread John Thompson
I'm trying to pass an ami_id as an environment variable with: AmiId=${AMI_ID} in the parameters field of the plugin. When I look at the resulting stack, the plugin seems to be passing literally '${AMI_ID}' as the parameter value instead of ami-0283893 or whatever. The documentation says it's