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

Not updated test reports reported as error

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: All
    • Similar Issues:

      Description

      Not updated test reports should not result in having the build marked as failed.

      In this case tests depend on source code being updated and are not run unless
      the test reports aren't up to date. If I make updates to other parts of my
      projects such as documentation or functional tests the build should not be
      marked as failed just because the unit tests weren't run.

      See example output below from a build triggered by a non-source code update to
      the project:

      [xUnit] Starting to record.
      [xUnit] [NUnit] - Use the embedded style sheet.
      [xUnit] [ERROR] - Test reports were found but none of them are new. Did tests
      run?
      For example, <.../job/BREEZE-MAIN/ws/tmp/build/xml/HirlamTest-debug.xml> is 3
      days 16 hr old

      [xUnit] Stopping recording.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gbois Gregory Boissinot
                Reporter:
                jnilsson jnilsson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: