Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5572

Unexisting Help Hint in "Remove clearcase view on rename" option

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • clearcase-plugin
    • 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.

          [JENKINS-5572] Unexisting Help Hint in "Remove clearcase view on rename" option

          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.

          Vincent Latombe added a comment - 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.

            Unassigned Unassigned
            hmonteiro hmonteiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: