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

Plugin changes build result to UNSTABLE, despite all tests either passing or skipped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • Jenkins v1.638,
      JUnit Plugin v1.9

      Hi,

      I have a Project that runs some functional tests (which creates a single XML output file) and uses the JUnit plugin to parse and react to this output file.

      Within the single XML file, some of the tests are reported as skipped, but the remainder all pass. None of the tests fail.

      Despite none of the tests failing, the junit-plugin marks the build as UNSTABLE, with the following line being logged:

      Build step 'Publish JUnit test result report' changed build result to UNSTABLE

      The output used to be accepted without an issue, but now it is failing.

      I tried downgrading to JUnit Plugin v1.8, but the problem persisted.

      Attached is an example XML file.

            Unassigned Unassigned
            paulmillar Paul Millar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: