[Buildbot] #2524: Property('buildnumber') returns None on first build
Buildbot trac
trac at buildbot.net
Fri Feb 27 03:28:03 UTC 2015
#2524: Property('buildnumber') returns None on first build
--------------------------+--------------------
Reporter: cmumford | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.8.x
Version: 0.8.7p1 | Resolution:
Keywords: simple, tests |
--------------------------+--------------------
Changes (by dustin):
* milestone: 0.9.+ => 0.8.x
Comment:
This was discussed in a pull request recently. The problem isn't that the
buildnumber wasn't assigned; it's that Property defaults to its second
parameter (which defaults to `None`) if the property evaluates to
something Python considers false, unless its third parameter is true.
The fix is in https://github.com/buildbot/buildbot/pull/1552.
--
Ticket URL: <http://trac.buildbot.net/ticket/2524#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list