[Buildbot-devel] Configurable clobber build

Martijn van Oosterhout kleptog at gmail.com
Tue May 6 19:02:50 UTC 2014


On 6 May 2014 17:56, Vasily <vassnlit at gmail.com> wrote:

> Hi,
>
> Property() itself does nothing, it needs to be evaluated by something.
> In doStepIf callback there is nothing that can evaluate it, compared to
> normal usage when you assign Property() to some argument of a step like
> "command". So your working approach seems the correct one to me.
>
> Also maybe you can subclass Git step and make it check this property in
> its execution phase.
>
>
That's what I thought. I was going from the documentation (
http://docs.buildbot.net/latest/manual/cfg-properties.html) where it says:

> You can use build properties in most step parameters. Please file bugs
for any parameters which do not accept properties.

It looks like a cool feature. However, I can't find an example how to
adjust the code to make this work.

Any tips?

Thanks an advance,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140506/4e031d03/attachment.html>


More information about the devel mailing list