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

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • junit-plugin
    • None

      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>

          [JENKINS-22747] Add Job Configuration Option to NOT fail JUnit Report publish when no xml report files

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

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

              Created:
              Updated:
              Resolved: