CruiseControl.NET and Clearcase configuration

不打扰是莪最后的温柔 提交于 2020-02-02 11:49:37

问题


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.

  1. Does anyone use this combination?
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!