[Buildbot-commits] [Buildbot] #2231: ForceScheduler should validate its paramter types
Buildbot
nobody at buildbot.net
Mon Mar 5 23:25:13 UTC 2012
#2231: ForceScheduler should validate its paramter types
------------------------+-----------------------
Reporter: jaredgrubb | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: undecided
Version: 0.8.6 | Keywords:
------------------------+-----------------------
In my ignorance, I did the following:
ForceScheduler(..., reason="foo", ...)
But when I went to the builder on the waterfall, I got a very cryptic
exception. Turns out that reason needs to be one of the field parameter
types, like StringParameter. This makes sense now, but it would be nice if
ForceScheduler could do some verification to catch this early.
--
Ticket URL: <http://trac.buildbot.net/ticket/2231>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list