diff options
Diffstat (limited to 'cbuildbot/stages/report_stages.py')
-rw-r--r-- | cbuildbot/stages/report_stages.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cbuildbot/stages/report_stages.py b/cbuildbot/stages/report_stages.py index ecd96d7c7..1d57d3ac6 100644 --- a/cbuildbot/stages/report_stages.py +++ b/cbuildbot/stages/report_stages.py @@ -163,6 +163,15 @@ class BuildStartStage(generic_stages.BuilderStage): logging.info('Inserted build_id %s into cidb database type %s.', build_id, db_type) + master_build_id = d['master_build_id'] + if master_build_id is not None: + master_build_status = db.GetBuildStatus(master_build_id) + master_url = tree_status.ConstructDashboardURL( + master_build_status['waterfall'], + master_build_status['builder_name'], + master_build_status['build_number']) + cros_build_lib.PrintBuildbotLink('Link to master build', + master_url) def HandleSkip(self): """Ensure that re-executions use the same db instance as initial db.""" |