Closed kiwi-oss closed 1 year ago
@kiwi-oss We have released Jenkins Artifactory plugin 3.18.4 with the fix. This version will be available in the Jenkins Plugins manager in a few hours. Please feel free to upgrade and provide us with your feedback.
Thank you very much, I will report back once I have tested with 3.18.4!
That fixed it, our builds pass now. Thanks again!
Describe the bug We use the Maven Wrapper and
rtMavenRun
to execute our builds on Jenkins. It works fine with Maven 3.9.1, but with 3.9.2, it fails consistently in all projects with the message thatdependenciesValidators
isnull
. Here's one example of a call and corresponding log:Running with
--define maven.plugin.validation=VERBOSE
didn't provide any information that seems useful, just some warnings about possible issues with Maven 4.It fails no matter if the job is run on a GCP agent or on the Jenkins controller. The only difference is that on the controller, the final error message is just "NullPointerException".
When running the same execution locally via
mvnw
, the build succeeds. There, one more plugin with validation issues is reported:To Reproduce Create a project with the Maven Wrapper configured to use Maven 3.9.2 and execute any goal, e.g.
package
, viartMavenRun
in the Jenkinsfile.Expected behavior The build should pass like it did with Maven 3.9.1 and like it does with 3.9.2 locally.
Versions