[Buildbot-devel] help: to get the last successful build's revision on a builder

Zhu Jia Cheng realalien at gmail.com
Mon Jul 13 08:16:43 UTC 2009


Hi! All,

Is there anyone can give me some advice on how to get the revision number of
last successful build on a builder, so that I can rollback the source code
to the last successful build's revision when newly submit code does not work
properly? e.g. is it reasonable to use setProperty() to record the build
number? Or some other ways?

Also, to use that revision number, my only idea is to subclass P4 and to
overwrite the computeSourceRevision(), but how do I get the right
sourcestamp?

Thanks in advance!



Regards
-- 

realalien ( Zhu Jia Cheng)
email: realalien at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090713/14f1910c/attachment.html>


More information about the devel mailing list