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

Load Options load directory doesn't substitute a parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: teamconcert-plugin
    • Labels:
      None
    • Environment:
      Running on RHEL 7. Jenkins 2.121.2. Team Concert Plugin 1.2.0.5
    • Similar Issues:

      Description

      The issue is with the Load Directory entry in the Load Options section of the SCM tab for the parameterized job I have defined.  The job has a parameter named rtc-workspace.  I want to specify ${rtc-workspace} as the load directory and have the actual directory be the substituted value for the parameter.

      The plugin is not performing this substitution.

        Attachments

          Activity

          Hide
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment -

          loadDirectory field is not parameterizable in freestyle builds.

          However, stream,snapshot, build definition and repository workspace fields are parameterizable and it works with Polling too (provided you have provided a default value for these parameters). See https://wiki.jenkins.io/display/JENKINS/Team+Concert+Plugin#TeamConcertPlugin-1.2.0.1Aug16,2016

           

          Show
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment - loadDirectory field is not parameterizable in freestyle builds. However, stream,snapshot, build definition and repository workspace fields are parameterizable and it works with Polling too (provided you have provided a default value for these parameters). See https://wiki.jenkins.io/display/JENKINS/Team+Concert+Plugin#TeamConcertPlugin-1.2.0.1Aug16,2016  
          Hide
          mooroj Joe Muro added a comment -

          It seems that RTC plugin has no support for parameterized builds. I tried substituting a parameter for the workspace and load directory with no success.

          Show
          mooroj Joe Muro added a comment - It seems that RTC plugin has no support for parameterized builds. I tried substituting a parameter for the workspace and load directory with no success.
          Hide
          jlczuk John Czukkermann added a comment -

          Related to this, possibly a separate issue, the Poll SCM support does not substitute the build parameter for the workspace/stream name either.

          This issue is a big problem for me because my team develops in multiple streams.  I don't want to create/maintain different Jenkins jobs for each such stream.  I want one job that does the thing I need it to do using the stream/workspace I specify in the build parameter.

          Show
          jlczuk John Czukkermann added a comment - Related to this, possibly a separate issue, the Poll SCM support does not substitute the build parameter for the workspace/stream name either. This issue is a big problem for me because my team develops in multiple streams.  I don't want to create/maintain different Jenkins jobs for each such stream.  I want one job that does the thing I need it to do using the stream/workspace I specify in the build parameter.

            People

            Assignee:
            lvaikunt Lakshmi Narasimhan Vaikuntam
            Reporter:
            jlczuk John Czukkermann
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: