Jenkins BlueOcean Simple Pipeline JSON Representation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= =Overview= <syntaxhighlight lang='json'> { "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineImpl", "name": "simple-pipeline-A", "id": "6", "fullNa...") |
|||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Jenkins_Concepts#Simple_Pipeline_JSON_Representation|Jenkins Concepts]] | |||
=Overview= | =Overview= | ||
<syntaxhighlight lang='json'> | <syntaxhighlight lang='json'> |
Latest revision as of 20:06, 13 April 2020
Internal
Overview
{
"_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineImpl",
"name": "simple-pipeline-A",
"id": "6",
"fullName": "simple-pipeline-A",
"displayName": "Simple Pipeline A",
"fullDisplayName": "Simple Pipeline A",
"organization": "jenkins",
"pipeline": "simple-pipeline-A",
"disabled": false,
"description": null,
"result": "SUCCESS",
"state": "FINISHED",
"type": "WorkflowRun",
"durationInMillis": 249494,
"startTime": "2020-01-03T10:01:22.182-0800",
"endTime": "2020-01-03T10:05:31.676-0800",
"enQueueTime": "2020-01-03T10:01:22.178-0800",
"estimatedDurationInMillis": 1000,
"replayable": true,
"runSummary": "back to normal",
"parameters": [
{
"_class": "hudson.model.StringParameterDefinition",
"defaultParameterValue": {
"_class": "hudson.model.StringParameterValue",
"name": "branch",
"value": "develop"
},
"description": "...",
"name": "branch",
"type": "StringParameterDefinition"
}
],
"permissions": {
"create": true,
"configure": true,
"read": true,
"start": true,
"stop": true
},
"weatherScore": 80,
"_links": {
"self": { ... },
"scm": { ... },
"actions": { ... },
"runs": { ... },
"trends": { ... },
"queue": { ... }
},
"actions": [],
"latestRun": {
"_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineImpl$PipelineRunSummary",
"_links": {
"prevRun": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/5/"
},
"parent": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/"
},
"tests": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/tests/"
},
"log": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/log/"
},
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/"
},
"blueTestSummary": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/blueTestSummary/"
},
"actions": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/actions/"
},
"changeSet": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/changeSet/"
},
"artifacts": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/artifacts/"
}
},
"artifactsZipFile": null,
"causeOfBlockage": null,
"causes": [
{
"_class": "io.jenkins.blueocean.service.embedded.rest.AbstractRunImpl$BlueCauseImpl",
"shortDescription": "Started by user user@example.com",
"userId": "user@example.com",
"userName": "user@example.com"
}
],
"changeSet": [
{
"_class": "io.jenkins.blueocean.service.embedded.rest.ChangeSetResource",
"_links": {
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/simple-pipeline-A/runs/6/changeSet/9640fc02c403cc8df11a0b543499ac238bfdf763/"
}
},
"affectedPaths": [
"...",
...
],
"author": { ... },
"checkoutCount": 0,
"commitId": "a640fc02c403cc8df11a0b543499ac238bfdf760",
"issues": [],
"msg": "...",
"timestamp": "2020-01-03T09:58:45.000-0800",
"url": "https://github.com/some-org/some-project/commit/a640fc02c403cc8df11a0b543499ac238bfdf760"
}
]
},
}