本文介绍了CruiseControl.NET和Clearcase配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是为CruiseControl.NET配置服务器时遇到了问题。我正在使用ThoughtWorks提供的源代码块进行设置,但似乎无法使它没有错误。我对这一切都很陌生,某种方向将是很棒的。

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. 有人使用这种组合吗?

  2. 我有一个可以查看的 ccnet.config 文件吗?

  1. Does anyone use this combination?
  2. Do you have a ccnet.config file I can look at?

这对我不起作用:

<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>

谢谢。

推荐答案

我对,但是如果您使用< projectVobName> 标记,则表示:

I have no direct experience with this kind of setup, but if you are using the <projectVobName> tag, that means:


  • 您要声明一个pvob(仅在UCM中用于存储项目,流,活动和组件以及所有UCM数据的项目Vob)

  • 您的视图(在< viewPath> 中引用根目录)必须是UCM视图。

  • 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.

所有其他路径元素(例如可执行文件)都应引用绝对路径(而不仅仅是 cleartool.exe

All the other path elements (like 'executable') should reference an absolute path (and not just "cleartool.exe")

这篇关于CruiseControl.NET和Clearcase配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 20:57