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

Config for making UNSTABLE builds not fail commit

XMLWordPrintable

      For jenkins build where tests are reported and the build gets marked UNSTABLE, currently there is no way(as far as my research goes) to override this so that the commit status that gets reported back to github is success and not failure / error.

      Overriding by setting `currentBuild.result` to `SUCCESS` doesn't work because `SUCCESS < UNSTABLE` and we could only make it higher, so only reset it to `UNSTABLE` or `FAILURE`. I believe overriding this way is not really ideal anyway. So, a config that allows the user to select how to map `UNSTABLE` to commit status would be helpful.

      Currently the only option is to stop reporting which is not really ideal because we would give up all the insights, historical tracking, and also cannot view test results in the UI without reporting.

            Unassigned Unassigned
            meetmangukiya Meet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: