-
Task
-
Resolution: Not A Defect
-
Minor
-
None
The PR checks fail because of the Findbugs and I do not see a way to disable the findbugs checks -
Failing for 2 projects -
https://github.com/jenkinsci/qualys-was-plugin/pull/3
https://github.com/jenkinsci/qualys-cs-plugin/pull/1#partial-pull-merging
Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]
https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fqualys-cs-plugin/detail/release%2F1.6.0.2/5/pipeline#step-37-log-118[2020-03-17T09:55:15.792Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList
When searched about it, maven version seems to be the culprit - http://maven.40175.n5.nabble.com/3-4-0-SNAPSHOT-failure-with-findbugs-Re-colorized-Maven-output-td5871591.html
Not sure although, what is causing it, can someone please address this, as we are blocked from releasing the next version of the plugin.
slide_o_mix, I was not sure whom to assign the issue, please redirect to concerned authority if required.
Note: The contents of Jenkinsfile are:
buildPlugin(tests: [skip: true], findbugs: [run: false])
still it does not skip findbugs check
Update:
Added newer version of findbugs maven plugin pom, that fixed the issue. Still would like to know if there are ways of controlling that in Jenkins system or atleast skipping the findbugs checks.