Jenkins BlueOcean Node JSON Representation

From NovaOrdis Knowledge Base
Revision as of 20:08, 13 April 2020 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/"
    }
  }
}