Jenkins BlueOcean Test JSON Representation
Jump to navigation
Jump to search
Internal
Failed Test
{
"_class": "io.jenkins.blueocean.service.embedded.rest.junit.BlueJUnitTestResult",
"id": "io.jenkins.blueocean.service.embedded.rest.junit.BlueJUnitTestResult:[...]",
"name": "Testing / Substage A / Substage B / ... / ... / ...",
"status": "FAILED",
"state": "REGRESSION",
"age": 1,
"duration": 0.869,
"hasStdLog": false,
"errorDetails": "JavaException: [...]",
"errorStackTrace": "",
"_links": {
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/"
},
"stdOut": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/stdOut/"
},
"stdErr": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/stdErr/"
}
}
}
Passed Test
{
"_class": "io.jenkins.blueocean.service.embedded.rest.junit.BlueJUnitTestResult",
"id": "io.jenkins.blueocean.service.embedded.rest.junit.BlueJUnitTestResult:[...]",
"name": "Testing / Substage A / Substage B / ... / ... / ...",
"status": "PASSED",
"state": "UNKNOWN",
"age": 0,
"duration": 0.869,
"hasStdLog": false,
"errorDetails": null,
"errorStackTrace": null,
"_links": {
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/"
},
"stdOut": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/stdOut/"
},
"stdErr": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/stdErr/"
}
}
}
Skipped Test
{
"_class": "io.jenkins.blueocean.service.embedded.rest.junit.BlueJUnitTestResult",
"id": "io.jenkins.blueocean.service.embedded.rest.junit.BlueJUnitTestResult:[...]",
"name": "Testing / Substage A / Substage B / ... / ... / ...",
"status": "SKIPPED",
"state": "UNKNOWN",
"age": 35,
"duration": 0.869,
"hasStdLog": false,
"errorDetails": null,
"errorStackTrace": null,
"_links": {
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/"
},
"stdOut": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/stdOut/"
},
"stdErr": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/tests/<test-id>/stdErr/"
}
}
}