Skip to content

Commit

Permalink
Merge pull request #1866 from burrows-labs/master
Browse files Browse the repository at this point in the history
Get results of build in StatusPush handler
  • Loading branch information
Mikhail Sobolev committed Oct 4, 2015
2 parents d34c394 + cc0dd44 commit 15baa00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/status/status_push.py
Expand Up @@ -340,7 +340,7 @@ def stepFinished(self, build, step, results):
d.addErrback(log.err, 'while pushing status message')

def buildFinished(self, builderName, build, results):
d = self.push('buildFinished', build=build)
d = self.push('buildFinished', build=build, results=results)
d.addErrback(log.err, 'while pushing status message')

def builderRemoved(self, builderName):
Expand Down
2 changes: 2 additions & 0 deletions master/docs/relnotes/index.rst
Expand Up @@ -25,6 +25,8 @@ Features

* :bb:reporter:`GerritStatusPush` now accepts a ``builders`` parameter.

* :bb:reporter:`StatusPush` callback now receives build results (success/failure/etc) with the ``buildFinished`` event.

Fixes
~~~~~

Expand Down

0 comments on commit 15baa00

Please sign in to comment.