I wish to set custom default values for fields for my buildbot force scheduler. This is how I am doing it:
force_deploy_fpga = schedulers.ForceScheduler(
name="force_deploy_fpga",
builderNames=["deploy_fpga_build"],
properties=[
util.StringParameter(name="name", label="Your name:", default=""),
util.StringParameter(name="reason", label="reason", default="force build"),
util.StringParameter(name="priority", label="priority", default="5"),
util.FixedParameter(name="repository", label="Repository:", default="mv_rtl"),
util.StringParameter(name="branch", label="Branch:", default="master")
]
)
However, when I do this, it simply creates new duplicate fields under the default fields instead of overriding them:
I’ve tried many ways of listing the properties, but I can’t get Buildbot to remove the default properties and use the ones I am listing in properties[]
instead. Does anyone have insight into how I can achieve this? Also, the “FixedParameter”s aren’t appearing at all either, which I have no idea why. Any insight is greatly appreciated, thank you!