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

Can't use a env parameter for "Stream selector" when recommended baseline is selected (fix attached)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • clearcase-plugin
    • None
    • Windows XP

      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) );

            vlatombe Vincent Latombe
            tim_dossett Tim Dossett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: