[Buildbot-devel] auto-retry build on step failure?

Pierre Tardy tardyp at gmail.com
Tue Jun 16 20:53:50 UTC 2015


I think so

Le mar. 16 juin 2015 22:52, Vitali Lovich <vlovich at gmail.com> a écrit :

> Just to confirm, returning RETRY from a new-style run command would be
> sufficient?
>
> On Jun 16, 2015, at 1:44 PM, Pierre Tardy <tardyp at gmail.com> wrote:
>
> Should work if you make your step status to retry. If you want to make it
> fancy you can add a generic retryOnFailure step argument but you can also
> just override the finish method of shellcommand
>
> Le mar. 16 juin 2015 22:23, Vitali Lovich <vlovich at gmail.com> a écrit :
>
>> Hi,
>>
>> If a particular step fails, is it possible to trigger a retry once it
>> succeeds?  Assume I’m in complete control of the logic of the step itself
>> if necessary.
>> Specifically, I do a merge with master when running tests & push the
>> result when it’s done.
>>
>> Of course, someone may have bypassed master & pushed directly.  I’m
>> looking to retry the build when pushing the merged result fails (i.e.
>> equivalent to hitting rebuild manually).
>>
>> Thanks,
>> Vitali
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150616/a76b4701/attachment.html>


More information about the devel mailing list