Re: terminate pipeline parallal on first failure

2016-09-22 Thread Åsmund Østvold
It was hidden under the document question mark. Should I make a issue? Asmund On Sep 22, 2016 01:36, "Michael Neale" wrote: > If it isn't, please do raise a ticket as it is an important feature of > parallel for people to know about. > > On Thursday, September 22, 2016

Re: terminate pipeline parallal on first failure

2016-09-21 Thread Michael Neale
If it isn't, please do raise a ticket as it is an important feature of parallel for people to know about. On Thursday, September 22, 2016 at 6:50:02 AM UTC+10, Baptiste Mathus wrote: > > o/ Didn't check, but this should be in the "Snippet Generator". > > > > 2016-09-21 22:38 GMT+02:00 Åsmund

Re: terminate pipeline parallal on first failure

2016-09-21 Thread Baptiste Mathus
o/ Didn't check, but this should be in the "Snippet Generator". 2016-09-21 22:38 GMT+02:00 Åsmund Østvold : > Thank you Cuong and Michael, > > IIRC my Jenkins install do not give me the choice for "failFast: true" > that I was searching for. Will check tomorrow. But if

Re: terminate pipeline parallal on first failure

2016-09-21 Thread Åsmund Østvold
Thank you Cuong and Michael, IIRC my Jenkins install do not give me the choice for "failFast: true" that I was searching for. Will check tomorrow. But if somebody has a link to the "full" syntax I would love to have it. Asmund On Sep 21, 2016 08:34, "Michael Neale" wrote:

Re: terminate pipeline parallal on first failure

2016-09-21 Thread Michael Neale
There is also: https://jenkins.io/doc/pipeline/ but generally for the steps - if you open a job to edit, you should see either near the pipeline text area or on the left a "Pipeline Syntax" link you can open in a new tab. It gives you a choice of steps that will build the syntax out for you as

Re: terminate pipeline parallal on first failure

2016-09-20 Thread Cuong Tran
The reference link is right on any pipeline job. You should see a "Pipeline Syntax" link, click on that will give a list of known steps, the click on the question icon will give you an example. On Tuesday, September 20, 2016 at 1:57:43 PM UTC-7, asmundo wrote: > > Thank you Baptiste! > >

Re: terminate pipeline parallal on first failure

2016-09-20 Thread Åsmund Østvold
Thank you Baptiste! Tested and it worked. You owe you a beer! I am new to pipeline programming. I worked several hours today on this and other pipeline related work. Could you please point me to the documentation of this syntax? I must have been looking in the wrong location. Cheers On Tue,

Re: terminate pipeline parallal on first failure

2016-09-20 Thread Baptiste Mathus
Hi, stage('tests') { parallel 'longTests': { build job: 'testjob1', quietPeriod: 0 }, 'shortTests':{ // this will fail 1 sec build job: 'testjob2', quietPeriod: 0 }, failFast: true } Cheers 2016-09-20 22:43 GMT+02:00 Åsmund

terminate pipeline parallal on first failure

2016-09-20 Thread Åsmund Østvold
hi All, Do anybody have an example or a pointer to how one could terminate a parallel pipeline section on first failure? The use case is that I have 14 tests in a checkin regression pipeline. Some tests take 2 min some take 40 min. To speed up feedback to the users we want to give feed back ASAP