我已经在我的 Windows 机器上安装了 Hudson,并尝试将它与 UCM Clearcase(我们正在使用的存储库)集成。
Hudson wiki 上没有可用的帮助文档来解释如何做到这一点。
- 我选择
New Job --> Project Name
- 我给作为
Test --> select Build a free style software project --> click Ok
- --> 这导致我进入配置项目屏幕
- --> 在
Source Code management
我选择下UCM Clearcase
- --> 我给出了一个我已经创建的动态视图名称和集成流的名称(在流选择器中)
- --> 在
Advanced options
我选择 "Use UCM dynamic view
" 并给出视图 rootM:\
和 "Windows dynamic view storage directory
" 我给出\\Hostname\CC_Views\MyTestView.vws
。
现在我运行项目来检查 fetch 是否正常工作,我得到这个错误:
[advcm3_LAC_FN38_Test] $ cleartool pwv -root M:\advcm3_LAC_FN38_Test
[workspace] $ cleartool startview advcm3_LAC_FN38_Test
[advcm3_LAC_FN38_Test] $ cleartool setcs -tag advcm3_LAC_FN38_Test -stream
cleartool: Warning: Config spec OK, but unable to tell view server to load.
cleartool: Warning: View server should be restarted.
cleartool: Error: Unable to change configuration specification: Permission denied.
FATAL: UCM ClearCase failed. exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="setcs -tag advcm3_LAC_FN38_Test -stream", actual exit code=1
at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107)
at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70)
at hudson.plugins.clearcase.ClearToolDynamicUCM.setcs(ClearToolDynamicUCM.java:81)
at hudson.plugins.clearcase.ClearToolDynamicUCM.syncronizeViewWithStream(ClearToolDynamicUCM.java:66)
at hudson.plugins.clearcase.action.UcmDynamicCheckoutAction.checkout(UcmDynamicCheckoutAction.java:99)
at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:398)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1038)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
at hudson.model.Run.run(Run.java:1257)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)
没有任何东西被提取到
C:\Hudson\jobs\Test\workspace
.
有人可以指导我吗?
谢谢,乌芒