提交 e266ec9a 编写于 作者: K kohsuke

This just ends up passing the -B option twice.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18030 71c3de6d-444a-0410-be80-ed276b4c234a
上级 fcf4b362
......@@ -155,11 +155,8 @@ public abstract class MavenBuilder implements DelegatingCallable<Result,IOExcept
System.getProperties().putAll(systemProps);
List<String> args = new ArrayList<String>(goals.size()+1);
args.add("-B"); // run Maven in the non-interactive mode
args.addAll(goals);
listener.getLogger().println(formatArgs(args));
int r = Main.launch(args.toArray(new String[args.size()]));
listener.getLogger().println(formatArgs(goals));
int r = Main.launch(goals.toArray(new String[goals.size()]));
// now check the completion status of async ops
boolean messageReported = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册