问题
I'm having problems simply configuring the server for CruiseControl.NET. I am using the source block that is given by ThoughtWorks to set it up, but I cannot seem to get it to be error-free. I am pretty new to all this and some sort of direction would be fantastic.
- Does anyone use this combination?
- Do you have a
ccnet.config
file I can look at?
This is what does not work for me:
<cruisecontrol>
<project name="test">
<sourcecontrol type="clearCase">
<exec>batch file</exec>
<viewPath>path_name</viewPath>
<branch>main</branch>
<autoGetSource>false</autoGetSource>
<useLabel>true</useLabel>
<useBaseline>false</useBaseline>
<projectVobName>vob_name</projectVobName>
<viewName>projecy_name</viewName>
<executable>cleartool.exe</executable>
<timeout>50000</timeout>
</sourcecontrol>
</project>
</cruisecontrol>
Thank you.
回答1:
I have no direct experience with this kind of setup, but if you are using the <projectVobName>
tag, that means:
- you are declaring a pvob (project vob used only in UCM to store project, stream, activities and components, all UCM data)
- your view (with the root directory referenced in
<viewPath>
) must be an UCM view.
All the other path elements (like 'executable') should reference an absolute path (and not just "cleartool.exe
")
来源:https://stackoverflow.com/questions/3240950/cruisecontrol-net-and-clearcase-configuration