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

Build fails if there are test failures during "Invoke top-level Maven targets" build step

    • Icon: New Feature New Feature
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • maven-plugin
    • None

      I am using a multi-configuration jenkins project to run some tests in parallel (currently on Jenkins 1.456). The tests are maven tests and the maven goal is specified by using a "Invoke top-level Maven target" build step. During this test run, some tests fail and the build is marked "Failing" (red).

      However, normally (if you're using a Maven2/3 project), failing tests result in a "Unstable" (yellow) build; it would be nice to have an option to replicate this behavior when using "Invoke top-level Maven targets" in a multi-configuration project (or elsewhere).

      Thanks!

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

              Created:
              Updated:
              Resolved: