Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Master: Jenkins 1.504 on Windows with ClearCase plugin 1.3.14
Slave: RHEL5
Description
When using the clearcase plugin on a Unix slave, the CLEARCASE_VIEWPATH variable is set incorrectly using a backslash instead of a slash.
Ex:
WORKSPACE=/workspace
CLEARCASE_VIEWNAME=myview
CLEARCASE_VIEWPATH=/workspace\myview
should be
CLEARCASE_VIEWPATH=/workspace/myview
CLEARCASE_VIEWPATH is set correctly on windows (e.g. %CLEARCASE_VIEWPATH% = %WORKSPACE%%CLEARCASE_VIEWNAME%)
Can work around it by using ${WORKSPACE}/${CLEARCASE_VIEWNAME}, but still should be fixed.
Code changed in jenkins
User: Vincent LATOMBE
Path:
src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
src/test/java/hudson/plugins/clearcase/AbstractClearCaseScmTest.java
src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java
http://jenkins-ci.org/commit/clearcase-plugin/cf9e0b69152080219c4c290e247c2ba574cab8cb
Log:
[FIXED JENKINS-18416] Use the build's node file separator to build
CLEARCASE_VIEWPATH instead of the master's file separator.
Compare: https://github.com/jenkinsci/clearcase-plugin/compare/804c9faca5b1...cf9e0b691520