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

Vitali Lovich vlovich at gmail.com
Tue Jun 16 20:52:53 UTC 2015


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 <mailto: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 <mailto:Buildbot-devel at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel <https://lists.sourceforge.net/lists/listinfo/buildbot-devel>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150616/2f4a5463/attachment.html>


More information about the devel mailing list