[FIXED JENKINS-8939] Fix for JENKINS-8711 breaks deployments with credentials

take care about using settings from the remote node
This commit is contained in:
Olivier Lamy committed 2011-03-05 22:13:07 +01:00
1 parent f7dbe86350
commit 1458f93a3c
2 files changed
+56 -14

No files matched your search

@@ -1088,6 +1088,8 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
} else {
this.privateRepository = null;
}
// TODO maybe in goals with -s,--settings
// or -Dmaven.repo.local
this.alternateSettings = project.getAlternateSettings();
this.mavenVersion = mavenVersion;
this.resolveDependencies = project.isResolveDependencies();