[Buildbot-devel] Nightly using name and reason

Brian Warner warner-buildbot at lothar.com
Sat Sep 30 22:01:33 UTC 2006


> Is there any way to provide  Nightly scheduler
> with 'username', 'comments' and detalils I one can fill on
> the 'Force Build' web page?
>
> It would help me to distinguish builds run by Nightly from
> other schedulers when all use the same builders.

What if we added a reason= argument to the Nightly Scheduler? That way you
could set up your Scheduler like this:

 s = scheduler.Nightly("nightly", builderNames, hour=3,
                       reason="This is the nightly build.")

and then you'd see:

 Reason: This is the nightly build.

appear in all the build results. Even without a specific reason= argument, it
would probably be a good idea to have all of the periodic Schedulers set the
reason string to include the name and type of the Scheduler, to get results
like this:

 Reason: The Nightly scheduler named 'nightly' triggered this build.


How does that sound?
 -Brian




More information about the devel mailing list