[Buildbot-devel] ForceScheduler error

Francesco Di Mizio francescodimizio at gmail.com
Sat Feb 7 15:45:24 UTC 2015


Lastest code - Following the docs I set up a force scheduler.
Basically just a copy paste from the docs.



from buildbot.plugins import schedulers, util

sch = schedulers.ForceScheduler(
             name="force",
             builderNames=["my-builder"],

             # will generate a combo box
             branch=util.ChoiceStringParameter(name="branch",
                                               choices=["main","devel"],
                                               default="main"),



File "/home/XXXXX/master/master.cfg", line 84, in <module>
            branch=util.ChoiceStringParameter(name="branch",
choices=["main","devel"], default="main"),
        exceptions.TypeError: __init__() got an unexpected keyword argument
'branch'


Used to work without trouble on wight.

Any idea about this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150207/4b9544b2/attachment.html>


More information about the devel mailing list