目录已存在导致Jenkins项目构建失败的解决方法

Jenkins中的项目在下载源代码时,如果Working Directory中存在未加入版本控制的文件或者目录已经存在于SVN库中,会导致更新失败,整个构建终止,解决方法是将SVN的检出策略由"Use 'svn upate' as much as possible"改为"Emulate clean checkout by first deleting unversioned/ignored files, then 'svn update'"。

posted on 2014-03-18 08:07  leechau  阅读(792)  评论(0编辑  收藏  举报

导航