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

Add an option to select Build status when no Test is found

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: junit-plugin
    • Labels:
      None
    • Environment:
      any
    • Similar Issues:

      Description

      Currently, when no test report is found by JUnit report plugin (ie fileset is empty), build fails.
      In some cases, this behaviour is too constraining and implies stopping a cascade of builds for example, and this is not always the mist convenient behavior for a build stack.

      This plugin should provide an option to select build status when fileset is empty:

      • FAILED (Red): current default behaviour
      • UNSTABLE (Orange)
      • STABLE (Blue/Green)

      This is an issue we have to build JBoss Tools, which we had to workaround by adding build steps, or adding dummy files to the fileset to avoid locking all builds in case of test failing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mickael_istria Mickael Istria
              • Votes:
                10 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: