Skip to content

Commit 297cbca

Browse files
author
Jason Miller
authored
Merge pull request #614 from milljm/send-recipe-sha
Send recipe sha along with test name
2 parents 161efa9 + c7c5b70 commit 297cbca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ci/PullRequestEvent.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ def _update_remote(self, git_api, ev, jobs):
296296
git_api.STATUS_JOB_STARTED,
297297
)
298298

299-
300299
def save(self):
301300
"""
302301
After the caller has set the variables for base_commit, head_commit, etc,

ci/client/UpdateRemoteStatus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ def job_complete_status(job, do_status_update=True):
9999
models.JobStatus.SKIPPED: (git_api.SUCCESS, "Skipped"),
100100
}
101101
status, msg = status_dict.get(job.status, (git_api.SUCCESS, "Passed"))
102-
102+
short_sha = f'recipe:{job.recipe_repo_sha[:6]}'
103103
git_api.update_status(
104104
job.event.base,
105105
job.event.head,
106106
status,
107107
job.absolute_url(),
108-
msg,
108+
f'{short_sha}, {msg}',
109109
job.unique_name(),
110110
git_api.STATUS_JOB_COMPLETE,
111111
)

0 commit comments

Comments
 (0)