提交 bb2f8b1b 编写于 作者: K kohsuke

fixed #183.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1669 71c3de6d-444a-0410-be80-ed276b4c234a
上级 5f416a54
...@@ -34,7 +34,7 @@ public abstract class CommandInterpreter extends Builder { ...@@ -34,7 +34,7 @@ public abstract class CommandInterpreter extends Builder {
FilePath script=null; FilePath script=null;
try { try {
try { try {
script = ws.createTextTempFile("hudson", getFileExtension(), getContents()); script = ws.createTextTempFile("hudson", getFileExtension(), getContents(), false);
} catch (IOException e) { } catch (IOException e) {
Util.displayIOException(e,listener); Util.displayIOException(e,listener);
e.printStackTrace( listener.fatalError("Unable to produce a script file") ); e.printStackTrace( listener.fatalError("Unable to produce a script file") );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册