提交 b7d3308b 编写于 作者: K kohsuke

updated the error diagnostics when this happens.

See http://www.nabble.com/Update-failed-due-to-local-files-td21691739.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14828 71c3de6d-444a-0410-be80-ed276b4c234a
上级 24ea100c
......@@ -450,6 +450,7 @@ public class SubversionSCM extends SCM implements Serializable {
if(e.getErrorMessage().getErrorCode()== SVNErrorCode.WC_OBSTRUCTED_UPDATE) {
// HUDSON-1882. If existence of local files cause an update to fail,
// revert to fresh check out
listener.getLogger().println(e.getMessage()); // show why this happened. Sometimes this is caused by having a build artifact in the repository.
listener.getLogger().println("Updated failed due to local files. Getting a fresh workspace");
update = false;
return invoke(ws,channel);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册