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

Add Job Configuration Option to NOT fail JUnit Report publish when no xml report files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: junit-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      JUnit report publication will fail if there are no unit test report XML files. I'd like to have this behaviour configurable, so that I can ignore this error.

      Cobertura reporting (for example) has a job option "Fail builds if no reports".
      In the job config.xml file for Cobertura reporting, you'll see

      <failNoReports>false</failNoReports>

        Attachments

          Issue Links

            Activity

            landoltjp Paul Landolt created issue -
            landoltjp Paul Landolt made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-7970 [ JENKINS-7970 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jplandolt Paul Landolt made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            jplandolt Paul Landolt made changes -
            Assignee Paul Landolt [ jplandolt ]
            jplandolt Paul Landolt made changes -
            Assignee Paul Landolt [ jplandolt ] Oleg Nenashev [ oleg_nenashev ]
            jplandolt Paul Landolt made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Paul Landolt [ jplandolt ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-12815 [ JENKINS-12815 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154861 ] JNJira + In-Review [ 195058 ]

              People

              • Assignee:
                jplandolt Paul Landolt
                Reporter:
                landoltjp Paul Landolt
              • Votes:
                3 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: