mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-07 20:58:27 +08:00
mbs-build: print koji tag if present
This commit is contained in:
@@ -113,6 +113,8 @@ def watch_build(server, build_id):
|
||||
'the "{state_name}" state')
|
||||
if data['state_reason']:
|
||||
template += ' (reason: {state_reason})'
|
||||
if data.get('koji_tag'):
|
||||
template += ' (koji tag: "{koji_tag}")'
|
||||
print(template.format(**data))
|
||||
time.sleep(30)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user