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

Incorrect status returned for unstable builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • gitea-plugin
    • None
    • Gitea Plugin 1.2.1 (current version)

      When the build result is "unstable", the Gitea plugin is sending a status of "failure" back to Gitea. It also sends the hard-coded and misleading description "This commit has test failures".

      The expected status in this case is "warning" and the description should be something along the lines of "This commit is unstable".

      https://github.com/jenkinsci/gitea-plugin/blob/master/src/main/java/org/jenkinsci/plugin/gitea/GiteaNotifier.java#L105

      This section of code appears to have been copied from the Bitbucket plugin, which also has a similar issue, JENKINS-46250.

            Unassigned Unassigned
            derkyjadex James Deery
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: