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)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: clearcase-plugin
    • Labels:
      None
    • Environment:
      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) );

        Activity

        tim_dossett Tim Dossett created issue -
        vlatombe Vincent Latombe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: