-
Improvement
-
Resolution: Unresolved
-
Trivial
-
None
-
Hudson 1.344, Clearcase Plugin 1.1
The option "Remove clearcase view on rename" doesn't have a very clear explanation on what it does.
Does it mean that, if the Clearcase view name has changed from the last build, Clearcase plugin will remove the old view and create the new View with the new name?
I didn't research for it's behaviour and don't know what it does but I think an improvement could be made in it's description/help.
I also believe that if this option indeed allows the plugin to remove the old named view when change it's name, it should be checked has default, so that when changing the view's name, one wouldn't be bother to always check if old views are being left behind unused, having to be deleted manually.
Thanks in advance.
The option only matters if ${JOB_NAME} is used in the view tag. Otherwise, the view is moved together with the job's workspace and is still valid.
I think the best way would be to remove the option, and determine if the view tag contains ${JOB_NAME}. If it does, we remove the view, if it doesn't, we leave it as is.