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

In progress build flows have result "SUCCESS" in json api

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • build-flow-plugin
    • Jenkins 1.613
      build-flow-plugin 0.18

      Opening the JSON api for a currently running build, I see that the status of the build is given as

      "result":"SUCCESS"

      This is in contrast to expected behaviour for a freestyle Jenkins job where an in progress build will have status:

      "result":null

      Pending a fix, a simple workaround is to checkout the "duration" parameter, which will be 0 for builds that have not completed.

            Unassigned Unassigned
            laffoyb Barry Laffoy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: