mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-22 00:05:31 +00:00
Merge branch 'JENKINS-15976' of https://github.com/bgloeckle/jenkins into bgloeckle-JENKINS-15976
This commit is contained in:
commit
e034d632ec
1 file changed
+1
-4
@@ -435,10 +435,7 @@ public class Maven extends Builder {
|
||||
|
||||
@Override
|
||||
public Builder newInstance(StaplerRequest req, JSONObject formData) throws FormException {
|
||||
Maven m = req.bindJSON(Maven.class,formData);
|
||||
m.setSettings(GlobalMavenConfig.get().getSettingsProvider());
|
||||
m.setGlobalSettings(GlobalMavenConfig.get().getGlobalSettingsProvider());
|
||||
return m;
|
||||
return req.bindJSON(Maven.class,formData);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user