Jenkins BlueOcean Node JSON Representation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

{
  "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl",
  "id": "1547",
  
  "displayName": "apps.base.somePackage",
  "displayDescription": null,
  "type": "PARALLEL",
  "firstParent": "284-parallel-synthetic",
  "restartable": false,  

  "result": "SUCCESS",
  "state": "FINISHED",
  "startTime": "2020-04-09T23:21:57.857-0700",
  "durationInMillis": 1000,
  
  "edges": [
    {
      "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl",
      "id": "29261",
      "type": "STAGE"
    }
  ],
  
  "_links": {
    "self": {
      "_class": "io.jenkins.blueocean.rest.hal.Link",
      "href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/nodes/<node-id>/"
    },
    "actions": {
      "_class": "io.jenkins.blueocean.rest.hal.Link",
      "href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/nodes/<node-id>/actions/"
    },
    "steps": {
      "_class": "io.jenkins.blueocean.rest.hal.Link",
      "href": "/blue/rest/organizations/jenkins/pipelines/<pipeline-name>/branches/<branch>/runs/<run-id>/nodes/<node-id>/steps/"
    }
  }
}