Why, yes, yes you can. I guess that makes it easier! I think I'll mark the
ones with the segfault as being unstable, does retry work on unstable
builds or just failures?


On Fri, Aug 30, 2013 at 11:03 AM, nicolas de loof
<nicolas.del...@gmail.com>wrote:

> Can't you use log parser plugin to change target job status depending on
> console output ?
>
>
>
> 2013/8/30 Slide <slide.o....@gmail.com>
>
>> First of all, I have to say that the build-flow-plugin is great. It has
>> simplified my build flow significantly, so thanks for that! I had a couple
>> questions about ignore and retry that can hopefully be answered.
>>
>> I currently have an ignore(FAILURE)  block with a build inside. I would
>> actually like to do something like this:
>>
>> ignore(FAILURE) {
>>   b = build(...)
>>   // check b's console output for something specific if the result was a
>> failure
>>   // if b's console output contains a specific string (in this case our
>> compiler randomly segfaults)
>>   // I want to retry the build, if it doesn't contain the string, then
>> its a normal failure and I don't
>>   // want to retry
>> }
>>
>> I can easily get the console log from the build and check for the string,
>> my question is I could solve the above in one of two ways.
>>
>> 1) put a retry block inside the ignore, but I would like to be able to
>> "break" out of the retry if it's a valid build failure rather than the
>> segfault
>> 2) have my own loop that retries the build around the ignore.
>>
>> I'm not sure which option is better, or if there is an even better option
>> out there.
>>
>> Thanks!
>>
>> slide
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to