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

Dynamically use Build Toolkit on Slave Machine when path to it is provided as an Environment Variable

    Details

    • Similar Issues:

      Description

      Checkout from RTC doesnt happen if the Build ToolKit to be used is specified in the form of an environment variable. This is so that the Build ToolKit on slave machine is used.
      configurations on Jenkins:
      System configuration:RTC build toolkit installation path provided as the environment variable
      Job configuration: Override global RTC repository connection option selected for RTC scm.
      Overriding the toolkit path in slave configuration using environment variables just lead to Jenkins searching for the toolkit in directory where the slave is located(in Screenshot)
      The variations in the way the path was provided: $RTC_BUILD_HOME , %RTC_BUILD_HOME%
      The way around this was to hard code path to toolkit in job configuration in which case the slave machine's toolkit was could is not the one being used.

        Attachments

          Activity

          Hide
          hfraserdube Heather Fraser-Dube added a comment -

          Jenkins doesn't do the substitution of variables. The plugin itself won't do either because I don't think we will have the variables as configured for the slave in order to do the substitution.

          You can configure the slave to point to a toolkit that is in a different directory than on the master by following the Master-Slave configuration instructions

          Show
          hfraserdube Heather Fraser-Dube added a comment - Jenkins doesn't do the substitution of variables. The plugin itself won't do either because I don't think we will have the variables as configured for the slave in order to do the substitution. You can configure the slave to point to a toolkit that is in a different directory than on the master by following the Master-Slave configuration instructions

            People

            • Assignee:
              hfraserdube Heather Fraser-Dube
              Reporter:
              tanya_fernandez Tanya Fernandez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: