Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35733

Running build is shown as "UNKNOWN" incorrectly (purple vomit)

XMLWordPrintable

    • 1.0-japan-m9

      The API is returning "UNKNOWN" for running state, not "RUNNING".

      To reproduce, run a pipeline with the following:

      node {
        sleep 1000
      }
      

      Then hit up the url for the run and you will see:

      {
      "_class": "io.jenkins.blueocean.service.embedded.rest.PipelineRunImpl",
      "artifacts": [],
      "changeSet": [],
      "durationInMillis": 0,
      "enQueueTime": "2016-05-25T12:43:34.462+1000",
      "endTime": null,
      "estimatedDurationInMillis": 100123,
      "id": "2",
      "organization": "jenkins",
      "pipeline": "testing",
      "result": "UNKNOWN",
      "runSummary": "?",
      "startTime": "2016-05-25T12:43:34.465+1000",
      "state": "RUNNING",
      "type": "WorkflowRun",
      "commitId": null
      }
      

            cliffmeyers Cliff Meyers
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: