Skip to content

Commit

Permalink
review: Add completion date in bugzilla comment
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
  • Loading branch information
mbriand committed Nov 7, 2024
1 parent 860ec0d commit 86f87dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swattool/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def _prompt_bug_infos(build: swatbuild.Build,
print("Please set the comment content")
logurl = build.get_first_failure().get_log_url()
if logurl:
testinfos = " ".join([build.test, build.worker, build.branch])
testinfos = " ".join([build.test, build.worker, build.branch,
f'completed at {build.completed}'])
bcomment = click.edit("\n".join([testinfos, logurl]),
require_save=False)
else:
Expand Down

0 comments on commit 86f87dd

Please sign in to comment.