mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
[FIXED HUDSON-5651] Removing excess whitespace from MAVEN_OPTS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27559 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
1f055074b7
commit
37183f4c86
4 files changed
+28
-4
No files matched your search
@@ -297,7 +297,7 @@ public class Maven extends Builder {
|
||||
|
||||
String jvmOptions = env.expand(this.jvmOptions);
|
||||
if(jvmOptions!=null)
|
||||
env.put("MAVEN_OPTS",jvmOptions);
|
||||
env.put("MAVEN_OPTS",jvmOptions.replaceAll("[\t\r\n]+"," "));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user