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

If all JUnit tests are skipped, the build fails

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: