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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: build-flow-plugin
    • Environment:
      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.

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

              Created:
              Updated: