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

Details

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

      Attachments

        Activity

          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

          scm_issue_link SCM/JIRA link daemon added a comment - 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
          dogfood dogfood added a comment -

          Integrated in plugins_clearcase #77
          [FIX JENKINS-11824] Can't use a env parameter for "Stream (Revision 4482660f2a39a366de77c401df623fddfc9bbd3e)

          Result = SUCCESS
          Vincent Latombe :
          Files :

          • src/main/java/hudson/plugins/clearcase/ucm/UcmMakeBaseline.java
          dogfood dogfood added a comment - Integrated in plugins_clearcase #77 [FIX JENKINS-11824] Can't use a env parameter for "Stream (Revision 4482660f2a39a366de77c401df623fddfc9bbd3e) Result = SUCCESS Vincent Latombe : Files : src/main/java/hudson/plugins/clearcase/ucm/UcmMakeBaseline.java

          Released in 1.3.8

          vlatombe Vincent Latombe added a comment - Released in 1.3.8

          People

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

            Dates

              Created:
              Updated:
              Resolved: