我正在嘗試設置TeamCity與ClearCase一起工作以實現持續集成,並且我遇到了一些問題。 TeamCity抱怨說它無法爲構建構建補丁。我一直在互聯網上搜索有關ClearCase和TeamCity的信息,並且有關該主題的信息量非常少。有沒有人獲得TeamCity與ClearCase合作?設置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文件:
剛剛完成我的回答針對你註釋。 – VonC
剛剛在http://www.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')? – VonC
剛剛在我的回答中添加了一個修改後的配置規範,供您測試 – VonC