[Buildbot-devel] Passing properties to dependent builders

Mikhail Sobolev mss at mawhrin.net
Fri Sep 12 04:16:54 UTC 2014


Hi Elliot,

On Thu, Sep 11, 2014 at 05:34:41PM -0700, Elliot Saba wrote:
> Hello there, I have a buildbot setup for testing followed by uploading, and
> I'd like the upload builders to have access to the properties setup by the
> testing builders.
When I read the first part of this sentence I thought ("one builder,
several steps, build, then upload"), when I read the second part I got
completely lost :)

> As far as I can tell, properties are not automatically
> passed probably because the dependency relationship is between
> schedulers not builders, and I can therefore have an upstream
> scheduler run multiple builders, each of which sets different values
> for a certain property.  Which property a dependent scheduler passes
> down to its builders would then be ill-defined.

While this part gives a bit of insight into your configration, a bit
more information how your build and testing builders are related would
really be appreciated.  If for some reasons you can't share your set,
maybe you could write a pseudo-setup that has essential links in it?

> Is there some method for communicating values from one to the other
> though?  This would be really useful, right now I'm writing out files
> to `/tmp` which seems like a pretty ugly hack.
This would only use if your builders are all running on the same
machine.  Otherwise, be prepared for surprises.

-- 
Misha




More information about the devel mailing list