Builds
Report a build to Ketryx
Reports a build to Ketryx, potentially including test results. Additionally, certain checks can be performed, namely whether all software dependencies are accepted and controlled, and/or whether the given version(s) are fully released in Ketryx.
The reported build can be associated with a particular version directly (via version), or with any versions given a particular commit (via commitSha), based on the release ref pattern configured in the Ketryx project.
post/builds
Request
- Base URLhttps://app.ketryx.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"project": "KXPRJ49GQYFQ5RR9KRTPWTRTC39YZ9W",
"version": "KXVSN352CZED7078FC8DN23YYZVM59D",
"commitSha": "ad4db8ac1e70bd41aa8bcee6f00a3a1e36bb0e01",
"changeRequestNumber": 123,
"buildName": "ci-e2e-batch1",
"sourceUrl": "https://github.com/Ketryx/ketryx/actions/runs/4991785273",
"repositoryUrls": [
"https://github.com/Ketryx/ketryx"
],
"tests": [
{
"testedItem": "KXITM2AVTG0CEEA83MVPCG00XH2KXRB",
"artifacts": [
{
"id": "KXUPF1GGK0R03458B8VK6R8S7SKCQSV"
}
]
}
],
"artifacts": [
{
"id": "KXUPF4VNVT28EFA8PJBT5642XDPEFR1",
"type": "cucumber-json"
}
]
}Response
OK
Example response
{
"errors": [
{
"code": "GITHUB_AUTH_FAILED"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.