提交 3fda643f 编写于 作者: K kohsuke

C&P error

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19474 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4ac8e275
......@@ -180,7 +180,7 @@ public class MavenBuild extends AbstractBuild<MavenModule,MavenBuild> {
@Override
public EnvVars getEnvironment(TaskListener log) throws IOException, InterruptedException {
EnvVars envs = super.getEnvironment(log);
String opts = project.getMavenOpts();
String opts = project.getParent().getMavenOpts();
if(opts!=null)
envs.put("MAVEN_OPTS", opts);
return envs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册