[Buildbot-devel] BuildBot setProperty in MasterShellCommand
tchen at nicira.com
Sat Jul 30 00:04:31 UTC 2011
BuildBot Dev -
I'm trying to do something that at face value that I thought would be simple
but has turned out to be slightly more complicated.
I want to get build numbers out of another database separate from buildbot.
But I need to set it in a property to be passed in a factory step such
factory = BuildFactory()
# check out the source
# run the tests (note that this will require that 'trial' is installed)
I thought the BuildBot way to do this would be to write a custom buildstep
in MasterShellCommand. Am I thinking the right way or missing something
I have a subclass inherited from MasterShellCommand and am attempting to
setProperty within, but it seems awkward at best. So I guess my questions
- How do I set properties on the buildmaster in addStep?
- Is this even a good idea?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel