【发布时间】:2012-07-19 17:20:04
【问题描述】:
我有 Teamcity (7.3) 从 SVN 为我签出代码。它会将它放在一些很好的临时路径中
[12:46:10]: Updating sources
[12:46:10]: [Updating sources] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[12:46:10]: [Updating sources] Cleaning C:\_app\TeamCity\buildAgent\work\a29b6ff3968e4c7a
[12:46:10]: [Updating sources] VCS Root: MyAppBuild
问题是当我用新版本(运行构建#)更新版本文件并从我的 Nant 脚本对其执行 SVN 提交时,SVN 会抛出错误。
[12:46:20]: [NAnt output] [exec] svn: E155036: Please see the 'svn upgrade' command
[12:46:20]: [NAnt output] [exec] svn: E155036: Working copy 'C:\_app\TeamCity\buildAgent\work\a29b6ff3968e4c7a\MyApp' is too old (format 10, created by Subversion 1.6)
出乎意料的是,计算机上唯一的 svn 版本是 1.7.5 有人能解释一下 Teamcity 是如何使用 1.6 svn 版本进行结帐的吗?我在 Teamcity 目录中搜索 svn.exe 没有任何运气。
【问题讨论】:
标签: svn teamcity build-automation