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

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

    • 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
      }
      

          [JENKINS-35733] Running build is shown as "UNKNOWN" incorrectly (purple vomit)

          James Dumay created issue -
          Michael Neale made changes -
          Attachment New: Screen Shot 2016-05-18 at 4.41.48 PM.png [ 16907 ]

          Michael Neale added a comment - - edited

          What I see is:

          what I expect is:

          Is this right jdumay ?

          Michael Neale added a comment - - edited What I see is: what I expect is: Is this right jdumay ?
          Michael Neale made changes -
          Epic Link New: UX-70 [ 25240 ]
          Michael Neale made changes -
          Rank New: Ranked higher
          Michael Neale made changes -
          Sprint New: 1.0-m7 [ 61 ]
          Michael Neale made changes -
          Description Original: This should be red, right? New: The API is returning "UNKNOWN" for running state, not "RUNNING".

          James Dumay added a comment -

          That's right. Purple is "unknown" and should never show up. This indicates a bug.

          James Dumay added a comment - That's right. Purple is "unknown" and should never show up. This indicates a bug.

          Michael Neale added a comment -

          This is an API bug.

          Michael Neale added a comment - This is an API bug.
          Michael Neale made changes -
          Epic Link Original: UX-70 [ 25240 ] New: UX-165 [ 25873 ]

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

              Created:
              Updated:
              Resolved: