代码之家  ›  专栏  ›  技术社区  ›  hawkeye

TeamCity ClearCase插件尝试在动态视图和炸弹上运行更新

  •  1
  • hawkeye  · 技术社区  · 15 年前

    我正在设置TeamCity 5以指向动态视图。无论出于什么原因,它决定我的观点是一个快照(显然没有要求)。

    [09:27:38]: Nothing more to be cleaned. Build will be started as is.
    [09:27:43]: update_clearcase_view
    [09:27:43]: [update_clearcase_view] ccupdate
    [09:27:43]: [ccupdate] cleartool: Error: 'M:\dynViewName\vobName' is not a valid snapshot view path.
    [09:27:43]: [ccupdate] Failed executing: cleartool update -overwrite -ctime M:\dynViewName\vobName\build\..\..\vobName
    

    如何强制TeamCity知道这是动态视图?

    1 回复  |  直到 15 年前
        1
  •  0
  •   VonC    15 年前

    如上所述 here ,VCS视图的根目录必须是

     M:\dynViewName
    

     M:\dynViewName\vobName
    

    换句话说,你的

    Settings from the Administration > Edit Build Configuration > Edit VCS Root Page:
    

    以下内容:

    Type of VCS: ClearCase
    ClearCase View Path: M:\myView
    Relative path within the view: MyVob\MyProject
    Use ClearCase: BASE
    No Checkout Rules
    

    ?

    如果是,它应该将其解释为动态视图,并相应地采取行动。

    还要确保VOB安装在服务器中,以便TeamCity找到路径。