-
Bug
-
Resolution: Won't Fix
-
Major
-
Jenkins 2.32.1 / Config File Provider 2.15.5 / Pipeline Maven Integration Plugin 0.5
I added a Global Maven setttings.xml in configuration file provider and named it : my-maven-global-settings.
When using Maven Pipeline withMaven clause, it ignores the name provided as globalMavenSettingsConfig argument:
withMaven( maven: "maven-3.3.9", globalMavenSettingsConfig: "my-maven-global-settings" ) { ... }
The build because it cannot find settings.xml
As workaround I have to specify config file ID instead:
withMaven( maven: "maven-3.3.9", globalMavenSettingsConfig: "2bde3e90-eada-4573-9a33-bfeb95135d97" ) { ... }
It works