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

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Thanks for taking the action.
            I've totally missed your PR.I'll try to review it ASAP

            Show
            oleg_nenashev Oleg Nenashev added a comment - Thanks for taking the action. I've totally missed your PR.I'll try to review it ASAP
            Hide
            xgouchet Xavier Gouchet added a comment -

            Any news on the PR ? We really need a fix for this

            Show
            xgouchet Xavier Gouchet added a comment - Any news on the PR ? We really need a fix for this
            Hide
            jplandolt Paul Landolt added a comment -

            There is a code solution for this. Oleg is reviewing the Pull request and should be accepting it into the plugin soon. (That's my take on it)

            Show
            jplandolt Paul Landolt added a comment - There is a code solution for this. Oleg is reviewing the Pull request and should be accepting it into the plugin soon. (That's my take on it)
            Hide
            jplandolt Paul Landolt added a comment -

            Managed with Pull Request #28

            Show
            jplandolt Paul Landolt added a comment - Managed with Pull Request #28
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Closing as a duplicate of JENKINS-12815 . The fchange has been released yesterday (junit-1.10)

            Show
            oleg_nenashev Oleg Nenashev added a comment - Closing as a duplicate of JENKINS-12815 . The fchange has been released yesterday (junit-1.10)

              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: