Repurpose project for job name

- `codebase` isn't really working as expected, and `project` appears to
  be unused in multibuild
This commit is contained in:
Peter Šurda 2022-10-19 21:12:56 +08:00
parent 0920807624
commit 07b4aeafe0
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -217,8 +217,7 @@ def trigger_child_hooks(buildbotUrl: str, repository, branch, revision,
request_data["changes"] = { request_data["changes"] = {
"author": "buildbot_multibuild", "author": "buildbot_multibuild",
"repository": repository, "repository": repository,
"project": "/".join(repository.split("/")[-2:]), "project": job,
"codebase": job,
} }
retval = requests.post(request_url, headers=request_headers, retval = requests.post(request_url, headers=request_headers,