Add JUnit attestation to a trail with an optional attachment file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Attestation data in JSON format
{
"attestation_name": "junit",
"git_commit_info": {
"author": "Jon Smith <jon@smith.com>",
"branch": "main",
"message": "adding glorious commit",
"sha1": "ae08fc6a5c963ae8dfaa0c27d8e5de9980d433b6",
"timestamp": 1750923680,
"url": "https://github.com/org/repo/commit/ae08fc6a5c963ae8dfaa0c27d8e5de9980d433b6"
},
"junit_results": [
{
"duration": 2.5,
"errors": 0,
"failures": 0,
"name": "test suite",
"skipped": 1,
"total": 5
}
],
"user_data": {}
}
Optional attachment file (max size: 10MB)
Creation Success