[Buildbot-devel] How can a BuildRequest find out which scheduler started it?
Dossy Shiobara
dossy at panoptic.com
Wed Apr 2 19:43:09 UTC 2008
On 2008.04.02, Axel Hecht <l10n.moz at googlemail.com> wrote:
> I don't think that's currently possible, but the custom build
> properties patch could tunnel that data from the scheduler onto the
> build status. Though I haven't looked at the patch yet in any
> significant detail. http://buildbot.net/trac/ticket/87, I think a
> patch flows around on the mailing list.
Thanks, Axel - I've already made the necessary changes to Buildbot's
code to pass the scheduler down to the process.base.Build so I can
setProperty("scheduler", self.scheduler.name).
I'll file this as a feature request on Buildbot Trac and upload the
patch. Hopefully someone will review it and consider including it.
(I hate maintaining forks of OSS projects.)
> 2008/4/2, Dossy Shiobara <dossy at panoptic.com>:
> > I'm looking at buildbot/process/base.py, and want to inform the
> > BuildRequest as to what scheduler kicked it off, so I can
> > setProperty("scheduler", ...) so I can access that in a build step.
> >
> > Is this something that is already accessible in some way? How can a
> > build step find out which scheduler initiated the BuildRequest?
--
Dossy Shiobara | dossy at panoptic.com | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
More information about the devel
mailing list