提交 12a83871 编写于 作者: K kohsuke

Some failures in Windows batch files didn't cause Hudson to fail the build.

    (<a href="http://www.nabble.com/Propagating-failure-in-Windows-Batch-actions-td23603409.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18208 71c3de6d-444a-0410-be80-ed276b4c234a
上级 713b3743
......@@ -41,7 +41,7 @@ public class BatchFile extends CommandInterpreter {
}
protected String[] buildCommandLine(FilePath script) {
return new String[] {script.getRemote()};
return new String[] {"cmd","/c","call",script.getRemote()};
}
protected String getContents() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册