Refresh the build_job from the database before we write updates.
This commit is contained in:
parent
34bf92673b
commit
aac7feb20b
2 changed files with 9 additions and 6 deletions
|
@ -67,7 +67,7 @@ class BuildComponent(BaseComponent):
|
|||
def start_build(self, build_job):
|
||||
""" Starts a build. """
|
||||
self._current_job = build_job
|
||||
self._build_status = StatusHandler(self.build_logs, build_job.repo_build)
|
||||
self._build_status = StatusHandler(self.build_logs, build_job.repo_build.uuid)
|
||||
self._image_info = {}
|
||||
|
||||
self._set_status(ComponentStatus.BUILDING)
|
||||
|
|
Reference in a new issue