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

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

    XMLWordPrintable

Details

    • 1.0-japan-m9

    Description

      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
      }
      

      Attachments

        Activity

          michaelneale Michael Neale added a comment -

          vpandey ah - I didn't see that. OK so the problem is the GUI is looking at result (as it isn't null) but not state...

          michaelneale Michael Neale added a comment - vpandey ah - I didn't see that. OK so the problem is the GUI is looking at result (as it isn't null) but not state...
          michaelneale Michael Neale added a comment -

          tscherler a quick win I think (as you wind down to vacation mode!)

          michaelneale Michael Neale added a comment - tscherler a quick win I think (as you wind down to vacation mode!)
          michaelneale Michael Neale added a comment -

          Just another floor mop any time that suits

          michaelneale Michael Neale added a comment - Just another floor mop any time that suits
          cliffmeyers Cliff Meyers added a comment -

          Should also be resolved as part of yesterday's updates. Just need to publish new JDL, update PR https://github.com/jenkinsci/blueocean-plugin/pull/263 to use it, and merge.

          cliffmeyers Cliff Meyers added a comment - Should also be resolved as part of yesterday's updates. Just need to publish new JDL, update PR https://github.com/jenkinsci/blueocean-plugin/pull/263 to use it, and merge.
          cliffmeyers Cliff Meyers added a comment -

          This will be fixed once JENKINS-35912 is deployed.

          cliffmeyers Cliff Meyers added a comment - This will be fixed once JENKINS-35912 is deployed.

          People

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

            Dates

              Created:
              Updated:
              Resolved: