Jenkins BlueOcean Multibranch Pipeline JSON Representation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

{
  "_class": "io.jenkins.blueocean.rest.impl.pipeline.MultiBranchPipelineImpl",
  "name": "multi-branch-pipeline-A",
  "fullName": "multi-branch-pipeline-A",
  "displayName": "Multi-Branch Pipeline A",
  "fullDisplayName": "Multi-Branch Pipeline A",
  "organization": "jenkins",
  "disabled": null,
  "parameters": null,
  "permissions": {
    "create": true,
    "configure": true,
    "read": true,
    "start": true,
    "stop": true
  },
  "_links": {
    "self": { ... },
    "scm": { ... },
    "branches": { ... },
    "actions": { ... },
    "runs": {
      "_class": "io.jenkins.blueocean.rest.hal.Link",
      "href": "/blue/rest/organizations/jenkins/pipelines/multi-branch-pipeline-A/runs/"
    },
    "trends": { ... },
    "queue": { ... }
  },
  "actions": [],
  "estimatedDurationInMillis": 1000,
  "numberOfFolders": 0,
  "numberOfPipelines": 2,
  "pipelineFolderNames": [],
  "branchNames": [
    "task%2Ffeature-1,
    "task%2Ffeature-2
  ],
  "numberOfFailingBranches": 1,
  "numberOfFailingPullRequests": 0,
  "numberOfSuccessfulBranches": 0,
  "numberOfSuccessfulPullRequests": 0,
  "scmSource": {
    "_class": "io.jenkins.blueocean.rest.impl.pipeline.scm.ScmSourceImpl",
    "apiUrl": "https://api.github.com",
    "id": "github"
  },
  "totalNumberOfBranches": 2,
  "totalNumberOfPullRequests": 0,
  "weatherScore": 100
}