Re: How to use Throttle Concurrent in WorkFlow

2015-11-26 Thread sebastien . barthelemy
Hello, Le lundi 16 novembre 2015 19:00:32 UTC+1, Dave Lawrence a écrit : > > I am looking to use Throttle Concurrent Builds in a WorkFlow. > Concurrency can be limited using "stages", have a look at : https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md#creating-stages > I've

Re: [workflow-plugin] stage concurrency not working outside of node scope?

2015-03-10 Thread sebastien . barthelemy
On Thursday, February 26, 2015 at 11:39:45 PM UTC+1, Jesse Glick wrote: > > On Thu, Feb 26, 2015 at 3:59 PM, > > wrote: > > Did you test my simple workflow? > > No, sorry, was just guessing that your issue was a duplicate. > > > Or is there as way for me to test it on a daily build of the pl

Re: [workflow-plugin] stage concurrency not working outside of node scope?

2015-02-26 Thread sebastien . barthelemy
Hi Jesse, thank you for answering. On Thursday, February 26, 2015 at 8:58:48 PM UTC+1, Jesse Glick wrote: > > On Tuesday, February 24, 2015 at 12:55:38 PM UTC-5, > sebastien@gmail.com wrote: >> >> I still wonder wether this is a bug, which I should file, or not. >> > > I did recently fix a p

Re: [workflow-plugin] stage concurrency not working outside of node scope?

2015-02-24 Thread sebastien . barthelemy
Hi again, I still wonder wether this is a bug, which I should file, or not. Maybe I shall detail a bit further, see below. Thanks ! On Friday, February 20, 2015 at 1:06:38 PM UTC+1, sebastien@gmail.com wrote: > > Hello, > > I'm experimenting with the "stage" command using the flow below, a

[workflow-plugin] stage concurrency not working outside of node scope?

2015-02-20 Thread sebastien . barthelemy
Hello, I'm experimenting with the "stage" command using the flow below, and running the job 4 times in a row (#59, #60, #61, #62). My test show that the concurrency limit I set for stage 'build_and_test' is not accounted for, but the one for the 'test' stage is (great feature, thanks!). Maybe

Re: [workflow-plugin] bug? using build parameters to skip builds steps

2015-02-19 Thread sebastien . barthelemy
On Friday, February 20, 2015 at 8:11:38 AM UTC+1, Vincent Latombe wrote: > > No, it is how the groovy truth is defined. See > http://docs.codehaus.org/display/GROOVY/Groovy+Truth > Non-empty strings are coerced to true, even if the value is "false". > Yes, I agree with that, there is no Groovy

Re: [workflow-plugin] bug? using build parameters to skip builds steps

2015-02-19 Thread sebastien . barthelemy
On Thursday, February 19, 2015 at 11:13:08 AM UTC+1, Vincent Latombe wrote: > > Remember that in groovy > > if ("false") { > println("Hello world") > } > I didn't realize that my "Boolean Parameter" was actually a variable of type String. That now makes perfect sense, thank you! -- You recei

[workflow-plugin] bug? using build parameters to skip builds steps

2015-02-19 Thread sebastien . barthelemy
Hello, I would like to add a build parameter "clean" which is true by default, but, when false, make the job skip the clean step. Here is my script echo "clean: ${clean}" > node("qisrc") { > echo "clean: ${clean}" > if (clean) { > sh "echo clean" > } > sh "echo build" > } > Here is

[workflow-plugin] aggregate several junit results

2015-02-16 Thread sebastien . barthelemy
Hello, I'm trying to replace several jobs with a single workflow job. One of the jobs was a matrix one which built and run tests under several configuration (namely debug and release builds). The groovy script below replaces it, but the test results from the two configurations are mixed in th

Re: [workflow-plugin] JUnit Tests Aggregation

2015-02-16 Thread sebastien . barthelemy
Hello Pedro, On Monday, January 26, 2015 at 1:57:36 AM UTC+1, Pedro Algarvio wrote: > > I've only started to read through the documentation and have not yet dig > in to get a workflow job configured because I fail to see support for some > needed features and/or plugins, one of which is junit te