mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
fix issue when reference to global settings.xml gets unconfigured
This commit is contained in:
1 parent
b836857da3
commit
f05f62c6cb
1 file changed
+4
-1
@@ -639,7 +639,10 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
project.globalSettingConfigPath = remoteGlobalSettings.getRemote();
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// make sure the transient field is clean
|
||||
project.globalSettingConfigPath = null;
|
||||
}
|
||||
|
||||
parsePoms(listener, logger, envVars, mvn, mavenVersion); // #5428 : do pre-build *before* parsing pom
|
||||
SplittableBuildListener slistener = new SplittableBuildListener(listener);
|
||||
|
||||
Reference in new issue
Block a user