• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • None
    • 2.369

      It would be nice to have the `inProgress` boolean exported so that `ATH` can be more reliable. For now, org.jenkinsci.test.acceptance.po.Build#isInProgress rely on a combination of "building" and "result" to check if the build is finished. This cause an issue on core.FreestyleJobTest#discardBuilds which is flaky because of that.

       

          [JENKINS-68981] Export inProgress from Run to the REST API

          Jean-Marc Desprez created issue -
          Jean-Marc Desprez made changes -
          Description Original: It would be nice to have the `inProgress` boolean exported so that `{{{}ATH{}}}` can be more reliable. For now, [org.jenkinsci.test.acceptance.po.Build#isInProgress|https://github.com/jenkinsci/acceptance-test-harness/blob/1b1d06e647a807d1ef541facc555abc7b8dc5b08/src/main/java/org/jenkinsci/test/acceptance/po/Build.java#L125-L134)] rely on a combination of "building" and "result" to check if the build is finished. This cause an issue on [core.FreestyleJobTest#discardBuilds|] which is flaky because of that.

           
          New: It would be nice to have the `inProgress` boolean exported so that `{{{}ATH{}}}` can be more reliable. For now, [org.jenkinsci.test.acceptance.po.Build#isInProgress|https://github.com/jenkinsci/acceptance-test-harness/blob/1b1d06e647a807d1ef541facc555abc7b8dc5b08/src/main/java/org/jenkinsci/test/acceptance/po/Build.java#L125-L134)] rely on a combination of "building" and "result" to check if the build is finished. This cause an issue on [core.FreestyleJobTest#discardBuilds|https://github.com/jenkinsci/acceptance-test-harness/blob/1b1d06e647a807d1ef541facc555abc7b8dc5b08/src/test/java/core/FreestyleJobTest.java#L169] which is flaky because of that.

           
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "jenkins #6829 (Web Link)" [ 27950 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Alexander Brandes made changes -
          Released As New: 2.369
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Basil Crow made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            jmdesprez Jean-Marc Desprez
            jmdesprez Jean-Marc Desprez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: