Reputation: 73
I just setup a Buildbot
server using master.cfg.sample
.
Everything goes well untill I want to get a property I just set in a previous step :
factory.addStep(steps.SetPropertyFromCommand(command="echo test", property="test"))
This step
is excuted correctly, and the property
is created correctly, but I don't know how to retreive it in the next steps
and use it. Can anyone help me please ?
I'm using Buildbot 1.4.0
on Windows
.
Thanks
Upvotes: 0
Views: 381
Reputation: 822
You just have use util.Interpolate In your case it will be something like that:
factory.addStep(ShellCommand(command=['echo', util.Interpolate('%(prop:test)s')],
))
Upvotes: 2