Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Windows XP
Description
Using the env parameter "Parent_Stream" for the "Stream selector" when making recommended baseline results in an error:
cleartool chstream -rec -def ${Parent_Stream}
cleartool: Error: Unable to determine VOB for pathname ".".
cleartool: Error: Unable to find stream "${Parent_Stream}".
Fix to expand the env variable for the make recommended baseline command:
UcmMakeBaseline.java, about line 305:
was: recommendBaseline(clearTool, ucm.getStream());
now: recommendBaseline(clearTool, Util.replaceMacro(ucm.getStream(), variableResolver) );
Code changed in jenkins
User: Vincent Latombe
Path:
src/main/java/hudson/plugins/clearcase/ucm/UcmMakeBaseline.java
http://jenkins-ci.org/commit/clearcase-plugin/4482660f2a39a366de77c401df623fddfc9bbd3e
Log:
[FIX JENKINS-11824] Can't use a env parameter for "Stream
selector" when recommended baseline is selected
https://issues.jenkins-ci.org/browse/JENKINS-11824