【发布时间】:2009-12-02 04:59:27
【问题描述】:
我正在尝试设置 TeamCity 以使用 ClearCase 进行持续集成,但我遇到了一些问题。 TeamCity 抱怨它无法为构建构建补丁。我一直在 Internet 上搜索有关 ClearCase 和 TeamCity 的信息,但关于该主题的信息量非常少。有没有人成功让 TeamCity 与 ClearCase 合作?
这是我的构建日志:
[18:09:11]: Updating sources (2s)
[18:09:13]: [Updating sources] Failed to build patch for build #1.0.23-November-2009.18:09:09, build id: 10, VCS root: ClearCase, due to error: Cannot get version in view 'D:\CCdata\my_vob\my_project' for the directory D:\CCdata\my_vob\my_project
[18:09:13]: Will repeat attempt when server will be available, number of attempts left: 2
[18:09:23]: Updating sources (1s)
[18:09:25]: [Updating sources] Failed to build patch for build #1.0.23-November-2009.18:09:09, build id: 10, VCS root: ClearCase, due to error: Cannot get version in view 'D:\CCdata\my_vob\my_project' for the directory D:\CCdata\my_vob\my_project
[18:09:25]: Will repeat attempt when server will be available, number of attempts left: 1
[18:09:35]: Updating sources (2s)
[18:09:37]: [Updating sources] Failed to build patch for build #1.0.23-November-2009.18:09:09, build id: 10, VCS root: ClearCase, due to error: Cannot get version in view 'D:\CCdata\my_vob\my_project' for the directory D:\CCdata\my_vob\my_project
[18:09:37]: [Updating sources] Patch is broken, can be found in file: C:\TeamCity\buildAgent\temp\cache\temp58518patch10
[18:09:37]: [Updating sources] Error while applying patch: Failed to build patch for build #1.0.23-November-2009.18:09:09, build id: 10, VCS root: ClearCase...
这是teamcity-vcs.log 文件:
【问题讨论】:
-
刚刚完成了我对您的cmets的回答。
-
刚刚在jetbrains.net/devnet/thread/285255 上看到了您的(更多记录的)报告。您能否:-在
runAll.sh或runAll.bat中使用-Dcc.log.commands=true启动teamcity - 设置VCS 日志记录的调试级别(在TEAMCITY_HOME/conf/teamcity-server-log4j.xml):- 然后将您的问题附加到您的VCS 日志文件(TEAMCITY_HOME/logs/teamcity-vcs.log)? -
刚刚在我的回答中添加了一个修改后的配置规范供您测试
标签: continuous-integration teamcity clearcase