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

build succeeds if at least one test result is updated but others are not

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • xunit-plugin
    • None

      Hello! We had a build that previously just had one test xml file, and when this had not been updated, the build failed as we desired. However then we added a second result xml file, and now when the other xml file fails to be generated due to some error, the build still passes because the newer xml file HAS been updated.

      It would be really great if it required all files to be updated, otherwise it can lead to really wonky and hard-to-notice issues. We had some failing builds that took a bit to notice because the only effect was less tests.

      I've patched this locally and attached the patch, if you think this is good I'd love for it to be applied, otherwise it could be a sub-checkbox of the "Fail the build if test results were not updated this run", perhaps "Require all test results to be updated", though I think the language already suggests that all test results should be updated for the build not to fail.

      Thanks for the great plugin and any feedback on this!

            gbois Gregory Boissinot
            mcrooney mcrooney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: