diff options
Diffstat (limited to 'buildbot_gentoo_ci/steps/logs.py')
-rw-r--r-- | buildbot_gentoo_ci/steps/logs.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/buildbot_gentoo_ci/steps/logs.py b/buildbot_gentoo_ci/steps/logs.py index ee11166..47112e0 100644 --- a/buildbot_gentoo_ci/steps/logs.py +++ b/buildbot_gentoo_ci/steps/logs.py @@ -529,6 +529,13 @@ class setBuildStatus(BuildStep): def run(self): self.gentooci = self.master.namedServices['services'].namedServices['gentooci'] project_build_data = self.getProperty('project_build_data') + bugid = 0 + if self.getProperty('bgo'): + bugid = self.getProperty('bgo')['id'] + yield self.gentooci.db.builds.setBugIdBuilds( + project_build_data['id'], + bugid + ) yield self.gentooci.db.builds.setStatusBuilds( project_build_data['id'], self.getProperty('status') |