Clearcase 哈德逊问题
我已经在 Hudson 中配置了 ClearCase 插件。
我创建了一个项目,通过提供新的 hudson_view_name
作为 Hudson 项目的视图名称并提供配置规范。 我在视图存储目录中发现它正在创建多个与视图相关的文件夹。就像,
hudson_view_name.vws
hudson_view_name.1.vws
hudson_view_name.2.vws
,但是当我看到我的“cleartool lsview
code>”命令仅 hudson_view_name.vws
可见,而 hudson_view_name.x.vws
不可见。
当我执行以下命令时:
cleartool rmview -force -tag hudson_view_name
hudson_view_name.2.vws
被删除,但 hudson_view_name.vws 和hudson_view_name.1.vws
仍然存在,我如何也删除这两个。
另一个问题是为什么 Hudson 创建了许多视图存储位置,例如 viewname.x.vws?
I have configured ClearCase plugin in Hudson .
I created a project , by giving new hudson_view_name
as view name for the Hudson project and provided config spec.
I identified in my view storage directory it is creating multiple folders related to the view. like ,
hudson_view_name.vws
hudson_view_name.1.vws
hudson_view_name.2.vws
, but when I see my "cleartool lsview
" command only hudson_view_name.vws
is visible not the hudson_view_name.x.vws
.
When I do the following command:
cleartool rmview -force -tag hudson_view_name
hudson_view_name.2.vws
is being removed but hudson_view_name.vws andhudson_view_name.1.vws
remains , How can I remove those two as well.
Another question is why Hudson created many view storage locations like viewname.x.vws
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
viewname.x.vws
是重用标签的视图的视图存储的命名约定。这种情况是指视图未在客户端删除,而仅在视图服务器端删除(即“
cleartool unregister
”,后跟“cleartool rmtag
”) ):ClearCase 的视图基本上消失了,但其客户端视图存储(现在无用)仍然存在。
(这就是 Trent Fisher 在 他的评论 Hudson ClearCase 插件页面)
在这种情况下,您可以通过重用以前的视图标签来重新创建视图,但是,由于相应的视图存储仍然存在,因此会创建一个新的
storage.x.vws
。我真的非常建议选择“使用现有动态视图”选项来避免这种情况:
(但与此相反图片,我不会选择“不重置配置规范”)。
viewname.x.vws
is the naming convention for view storage for views whose tag is reused.That is the case when the view is not deleted on the client side, but only on the view server side (i.e "
cleartool unregister
", followed by a "cleartool rmtag
"):The view is essentially gone for ClearCase, but its client-side view storage (which is now useless) remains.
(That is what Trent Fisher says in his comment of the Hudson ClearCase Plugin page)
In this scenario, you can re-create a view by reusing the former view tag, but, since a corresponding view storage still exists, a new
storage.x.vws
is created.I would really-really recommend selecting the option "use existing dynamic view" to avoid that:
(but contrary to this picture, I would not select the "Do not reset the config spec").