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

Add option not to fail the build when errors occur

XMLWordPrintable

      Unfortunately, dependency check analysis fails every other day for different and intermittent reasons like:

      [DependencyCheck] Exception Caught: org.owasp.dependencycheck.exception.InitializationException
      [DependencyCheck] Cause: org.owasp.dependencycheck.data.cpe.IndexException: Error reading CPE data
      [DependencyCheck] Message: An exception occurred accessing the database
      

      or

      [DependencyCheck] Exception Caught: org.owasp.dependencycheck.exception.NoDataException
      [DependencyCheck] Message: No documents exist
      

      or (only on the same single job which uses the same JDK as the others; quite strange)

      [DependencyCheck] Exception Caught: org.owasp.dependencycheck.analyzer.exception.AnalysisException
      [DependencyCheck] Cause: Unable to connect to 'https://api.nodesecurity.io/check' - the Java trust store does not contain a trusted root for the cert. Please see https://github.com/jeremylong/InstallCert for one method of updating the trusted certificates.
      [DependencyCheck] Message: Unable to connect to 'https://api.nodesecurity.io/check' - the Java trust store does not contain a trusted root for the cert. Please see https://github.com/jeremylong/InstallCert for one method of updating the trusted certificates.

      It would useful to have an option not to fail the build when errors occur or I'll have to remove this plugin.

            Unassigned Unassigned
            jhack Giacomo Boccardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: