• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Windows Server 2003, Clearcase UCM Baseline plugin 1.4

      The plugin prepends a / to the PVOB declaration. In my case, I cannot retrieve baselines because the cleartool command expects a prepending \ instead (I'm on Windows, this may explain). I guess the initial character is OS-dependant (Clearcase server-OS dependant?).

          [JENKINS-6029] PVOB declaration is invalid on Windows

          This patch fixes pretty much all problems I had under Windows.

          • PVOB declaration is modified only if no separator has been provided. In this case, it will use the file separator of the Hudson master OS. If the user specifies a separator ('/' or '\'), it won't be modified.
          • Config spec rules should use the Clearcase server OS separator. We don't have this information, so by default, we use the slave OS separator.
          • Load rules should use the slave OS separator, and it is the case.

          Vincent Latombe added a comment - This patch fixes pretty much all problems I had under Windows. PVOB declaration is modified only if no separator has been provided. In this case, it will use the file separator of the Hudson master OS. If the user specifies a separator ('/' or '\'), it won't be modified. Config spec rules should use the Clearcase server OS separator. We don't have this information, so by default, we use the slave OS separator. Load rules should use the slave OS separator, and it is the case.

          Romain Seguy added a comment -

          Thanks for the patch. I've applied it but before releasing it I have to make some tests in my mixed Linux (master) + Linux/Windows (slaves) environment with a Unix CCLT server. I've tested it this afternoon with a master on Windows and the Unix CCLT server and it worked fine.

          Romain Seguy added a comment - Thanks for the patch. I've applied it but before releasing it I have to make some tests in my mixed Linux (master) + Linux/Windows (slaves) environment with a Unix CCLT server. I've tested it this afternoon with a master on Windows and the Unix CCLT server and it worked fine.

          Romain Seguy added a comment -

          NB: I don't know why but the issue was not assigned automatically to me. Don't hesitate the assign clearcase-ucm-baseline issues to me.

          Romain Seguy added a comment - NB: I don't know why but the issue was not assigned automatically to me. Don't hesitate the assign clearcase-ucm-baseline issues to me.

          Thanks for the info. In my company, we only use windows environments (both client and server) so I couldn't perform multi-OS tests.

          Vincent Latombe added a comment - Thanks for the info. In my company, we only use windows environments (both client and server) so I couldn't perform multi-OS tests.

          Code changed in hudson
          User: : rseguy
          Path:
          trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterDefinition.java
          trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterValue.java
          trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineUtils.java
          http://jenkins-ci.org/commit/29376
          Log:
          [FIXED JENKINS-6029]

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : rseguy Path: trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterDefinition.java trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterValue.java trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineUtils.java http://jenkins-ci.org/commit/29376 Log: [FIXED JENKINS-6029]

          Romain Seguy added a comment -

          Delivered in 1.5

          Romain Seguy added a comment - Delivered in 1.5

            rseguy Romain Seguy
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: