Skip to content

[JENKINS-72557] Add ability to configure NVD API Key for OWSP depende…

ci.jenkins.io / CheckStyle failed Feb 25, 2024 in 0s

1 new issue

Total New Outstanding Fixed Trend
1 1 0 0 👎

Reference build: Plugins » dependency-check-plugin » master #206

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
1 0 0 0

Annotations

Check warning on line 331 in src/main/java/org/jenkinsci/plugins/DependencyCheck/DependencyCheckToolBuilder.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / CheckStyle

ParameterAssignmentCheck

ERROR:
Assignment of parameter 'nvdCredentialsId' is not allowed.
Raw output
<p>Since Checkstyle 3.2</p><p> Disallows assignment of parameters.</p><p> Rationale: Parameter assignment is often considered poor programming practice. Forcing developers to declare parameters as final is often onerous. Having a check ensure that parameters are never assigned would give the best of both worlds. </p>