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

If all JUnit tests are skipped, the build fails

      When all JUnit tests are skipped, the JUnit result archiver considers the build to have failed, since pass count and fail count are both zero.

      I believe that the attached patch would fix the problem, though I haven't succeeded to build it and test it.

          [JENKINS-7970] If all JUnit tests are skipped, the build fails

          mhenoch created issue -
          mhenoch made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          kutzi made changes -
          Assignee New: kutzi [ kutzi ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 1.509.4-rejected
          Paul Landolt made changes -
          Link New: This issue is related to JENKINS-22747 [ JENKINS-22747 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138073 ] New: JNJira + In-Review [ 187828 ]

            kutzi kutzi
            mhenoch mhenoch
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: