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

Aborted builds are reported as pending to Github

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • github-plugin
    • None

      Result.ABORTED is not supported by DefaultStatusResultSource. I've tried to implement a fix here https://github.com/jenkinsci/github-plugin/pull/133. However, it doesn't appear that Result.ABORTED is going to work properly with the current isBetterThanOrEqual logic because ABORTED has the greatest value.

      As a general note, I'm also confused why this isBetterThanOrEqualTo logic was used in the first place. It seems like a mapping of Result to GHCommitStatus would suffice.

            lanwen Kirill Merkushev
            kpike Kevin Pike
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: