Re: [workflow plugin] use case question

2016-01-21 Thread Patrick Bruneton
ay a écrit : > > Can you just set the *Restrict where this project can be run* checkbox in > conjunction with the *Label Expression* param on the two subjobs? > > On Thursday, January 21, 2016 at 2:16:39 AM UTC-8, Patrick Bruneton wrote: >> >> Hi all, >> >> I

[workflow plugin] use case question

2016-01-21 Thread Patrick Bruneton
Hi all, I am trying to implement a use case with the workflow plugin. I have two jobs, say build & test, that I want to run inside a pipeline. Sounds easy. But I have a constraint:I want the two jobs to executed on the same slave. So I tried something like this: node('windows') { stage name:

[workflow plugin] stage concurrency

2016-01-21 Thread Patrick Bruneton
Hi all, I tried a very simple workflow with a stage running a job, and concurrency set to 2: node('windows') { stage name: 'Build', concurrency: 2 build 'build' } I have allowed the job 'build' to have multiple runs in parallel (works fine if I trigger the jobs manually multiple times).