You would need to configure the retry completely within the build step
then, using a bash script or something similar. You would perform the
build step, perhaps in a separate script, and check the status when it
returns. If it failed, you could perform cleanup if needed and retry.
Eric
On 3/26/2015 8:53 AM, Shurik wrote:
Hi,
I have the job that has shell build step.
I want to re-run this build step if it failed on the first time.
I need to configure it on the same job ( I can't define other job for
it or use the naginator plugin - project restriction )
How can I configure it?
Thanks,
Shurik
--
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 [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/c9c2d3d6-0656-482a-9f8a-b591d326b002%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/c9c2d3d6-0656-482a-9f8a-b591d326b002%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/55155EF6.2030001%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.