• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • testng-plugin
    • windows xp 32
      Java(TM) SE Runtime Environment (build 1.7.0-b147)
      Jenkins (1.535)

      TestNG Results Trend doesn't show a failures after update.

      systemInfo: sysinfo.xls

      How are you running Jenkins?

      • Using the executable war like java -jar jenkins.war

        1. sysinfo.xls
          41 kB
        2. Testng.png
          Testng.png
          24 kB

          [JENKINS-20162] TestNG Results Trend doesn't show a failures

          Nalin Makar added a comment - - edited

          Why does the build fail on test failures?

          If this is a maven build, use "-Dmaven.test.failure.ignore=true" to ensure that the build is not marked as failed even on test failures. This way you'll correctly see that the build is unstable.

          Nalin Makar added a comment - - edited Why does the build fail on test failures? If this is a maven build, use "-Dmaven.test.failure.ignore=true" to ensure that the build is not marked as failed even on test failures. This way you'll correctly see that the build is unstable.

          Nalin Makar added a comment -

          Fixed. See http://jenkins-ci.org/commit/testng-plugin-plugin/f984cfafde186d3e1f3a779fccb8a2c61a20007d

          Option will be available in next release to show failed builds in Trend Graphs

          Nalin Makar added a comment - Fixed. See http://jenkins-ci.org/commit/testng-plugin-plugin/f984cfafde186d3e1f3a779fccb8a2c61a20007d Option will be available in next release to show failed builds in Trend Graphs

          Ivan Kazakov added a comment - - edited

          Thank you.

          Why does the build fail on test failures?

          I have some jobs for testing only: mvn test.

          Ivan Kazakov added a comment - - edited Thank you. Why does the build fail on test failures? I have some jobs for testing only: mvn test .

          Nalin Makar added a comment -

          Sure, you can now use this feature. I would suggest that you change your maven command to

          mvn test -Dmaven.test.failure.ignore=true

          this will ensure that the build is not marked as failed when tests fail. So, the builds will show up as unstable.

          Nalin Makar added a comment - Sure, you can now use this feature. I would suggest that you change your maven command to mvn test -Dmaven.test.failure.ignore=true this will ensure that the build is not marked as failed when tests fail. So, the builds will show up as unstable.

            nullin Nalin Makar
            x_noname Ivan Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: