Skip to content

Commit 25cdbbf

Browse files
ebblakepipo
authored andcommitted
Link to build URL while waiting for status
When watching a build in a gitlab job, seeing that the job is still executing in Cirrus is useful, but even more useful is having access to a clickable URL to jump from the gitlab job into the Cirrus job.
1 parent fa345f1 commit 25cdbbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirrus_run/queries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def wait_build(api, build_id: str, delay=3, abort=60*60, credits_error_message=N
110110
while time() < time_start + abort:
111111
response = api(query, params)
112112
status = response['build']['status']
113-
log.info('build {}: {}'.format(build_id, status))
113+
log.info('build https://cirrus-ci.com/build/{}: {}'.format(build_id, status))
114114
if status in {'COMPLETED'}:
115115
return True
116116
if status in {'CREATED', 'TRIGGERED', 'EXECUTING'}:

0 commit comments

Comments
 (0)