srinannapa
srinannapa

Reputation: 3207

Clearcase hudson issue

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 ,

, 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 

Another question is why Hudson created many view storage locations like viewname.x.vws?

Upvotes: 3

Views: 277

Answers (1)

VonC
VonC

Reputation: 1324977

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:

alt text

(but contrary to this picture, I would not select the "Do not reset the config spec").

Upvotes: 3

Related Questions