[Buildbot-devel] Properties on force build do not override "default" ones of build slaves ? (0.8.5)

Amber Yust ayust at yelp.com
Wed Apr 25 16:31:42 UTC 2012

I believe this is intended; BuildSlave properties have a higher precedence
since they can theoretically vary from slave to slave, while an overall
build might set a default.

Your best bet would probably be to use two separate properties (one for the
buildslave and one for potential customization) and then have something
that computes the proper value from both those properties (and perhaps
stores it in a third).


On Wed, Apr 25, 2012 at 7:28 AM, Johannes Stallkamp <
johannes.stallkamp at rub.de> wrote:

> Hi,
> in my buildbot configuration, I provide a few properties to my build
> slaves as default values.
> (this is the example form buildbot docs, since my script is on a
> different machine)
> c['slaves'] = [
>    BuildSlave('bot-solaris', 'solarispasswd',
>                properties={ 'os':'solaris' }),
> ]
> Then I tried to run force a build via the web frontend and tried to
> provide a different value to one of the properties that are listed in my
> buildslave configuration.
> However, it seems that the settings in the buildslave configuration take
> precedence over the ones in the web form. It seems the latter ones are
> simply ignored ( For debugging, I wrote all propery settings to a
> logfile in my very first buildstep).
> When I remove the properties in the buildslave configuration, they are
> correctly set to the values provided in the web form.
> In the example, settings "os" as a custom property to some other value
> in the web frontend would not work. The property "os" would still
> contain "solaris" when queried in the first build step.
> Is this intended behaviour or is this a bug? Or am I simply doing
> something wrong?
> Cheers
> Johannes
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120425/29afa42a/attachment.html>

More information about the devel mailing list