Caution
Buildbot no longer supports Python 2.7 on the Buildbot master.
2.5.11.47. SetProperty¶
- class buildbot.steps.master.SetProperty¶
SetProperty
takes two arguments of property
and value
where the value
is to be assigned to the property
key.
It is usually called with the value
argument being specified as an Interpolate object which allows the value to be built from other property values:
from buildbot.plugins import steps, util
f.addStep(
steps.SetProperty(
property="SomeProperty",
value=util.Interpolate("sch=%(prop:scheduler)s, worker=%(prop:workername)s")
)
)