[Buildbot-devel] How to tell if "rebuild" was clicked from inside a buildstep

andrew.inglis at optusnet.com.au andrew.inglis at optusnet.com.au
Tue Sep 3 01:41:00 UTC 2013


Hi all,

Buildbot version 0.8.7

I'm new to buildbot and I suspect there is a simple answer to my
question but I'm having trouble finding it, so any help would be
appreciated.

I am using a forceScheduler to manually start a build. My build
factory consists of multiple build steps, some of which commit changes
back to git repositories. I would like to be able to  rebuild a
previous build by clicking "rebuild" on the forceScheduler webgui, but
I don't want to re-run the commit steps.

I think what I want to be able to do is to use a doStepIf function to
skip the commit steps if the build is a rebuild, but I dont know how
to tell if it is a rebuild from within the doStepIf.

Can anyone suggest how I can do this? Is there a better approach?

Thanks and regards,

Andrew

-------------------------
Email sent using Optus Webmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130903/94f744ad/attachment.html>


More information about the devel mailing list