Hi everybody,
I've configured my Jenkins build as follows:
stage ('OWASP Dependency-Check Vulnerabilities') {
steps {
dependencyCheck additionalArguments: '''
-o "./"
-s "./"
-f "ALL"
--proxyserver http-proxy.url
--proxyport 3128
--disableYarnAudit
--prettyPrint''', odcInstallation: '6.1.1'
dependencyCheckPublisher pattern: 'dependency-check-report.xml'
}
}
and when running the build the following error occurs:
12:17:52 [DependencyCheck] [ERROR] Failed to request component-reports
12:17:52 [DependencyCheck] [ERROR] Error generating the report for CI Pipeline » feature/PCCOM-6464-different_payment_invoice_amount #1
[Pipeline] dependencyCheckPublisher
12:17:52 [DependencyCheck] Collecting Dependency-Check artifact
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (collect)
[Pipeline] junit
12:17:54 Recording test results
12:17:54 [Checks API] No suitable checks publisher found.
[Pipeline] publishCoverage
12:17:54 Publishing Coverage report....
12:17:56 A total of 30 reports were found
12:17:57 [Checks API] No suitable checks publisher found.
[Pipeline] recordIssues
Then the build is marked as failed and the subsequent steps are skipped:
12:17:57 [SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Did I make a mistake configuring the build? Am I missing some dependency on my build server?
Any input would be appreciated. Thanks in advance
Carlo