[Buildbot-devel] How to set revision number for nightly builds

Tony Lazarew anarky13 at gmail.com
Thu May 26 07:13:28 UTC 2011


2011/5/26 Chris AtLee <chris at atlee.ca>:
> At Mozilla we use custom schedulers to do this.
>
> The SpecifcNightly scheduler
> (http://hg.mozilla.org/build/buildbotcustom/file/7fcf28632599/scheduler.py#l53)
> allows us to specify a function that is run when the schedulers fires
> to generate a SourceStamp to use for the nightly build(s). An example
> of a function we use is lastGoodFunc
> (http://hg.mozilla.org/build/buildbotcustom/file/7fcf28632599/misc_scheduler.py#l252)
> which finds the last "good" revision on a set of builders to use for
> the nightly build.
>
> I hope you find something in there useful!

Thanks, Chris. That is exactly what we need!

-- 
Tony




More information about the devel mailing list