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

Publisher should fail by default if no files found

      Unlike similar plugins (and possibly previous versions of this), the publisher silently fails if no files are found.

      It should instead fail by default, with an option to ignore this error.

          [JENKINS-58384] Publisher should fail by default if no files found

          James Howe added a comment -

          Parse errors don't cause failures either, only log messages:

          [DependencyCheck] Collecting Dependency-Check artifact
          [DependencyCheck] Unable to parse /var/lib/jenkins/node/workspace/a-platform_test-dependency-check/dependency-check-report.xml
          [DependencyCheck] Unsupported Dependency-Check schema version detected

          James Howe added a comment - Parse errors don't cause failures either, only log messages: [DependencyCheck] Collecting Dependency-Check artifact [DependencyCheck] Unable to parse /var/lib/jenkins/node/workspace/a-platform_test-dependency-check/dependency-check-report.xml [DependencyCheck] Unsupported Dependency-Check schema version detected

          What version of the plugin are you using? v5.0.0 or 5.0.1?

          Steve Springett added a comment - What version of the plugin are you using? v5.0.0 or 5.0.1?

          Nikolas Falco added a comment - - edited

          Publisher in case no files are found set build as unstable. It fails only wehn violations exceed setup thresholds and option stopBuild is set to true

          Nikolas Falco added a comment - - edited Publisher in case no files are found set build as unstable. It fails only wehn violations exceed setup thresholds and option stopBuild is set to true

            nfalco Nikolas Falco
            jameshowe James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: