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

Add team.scm.workspaceUUID to list of RTC related Environment Variables available to the Build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The Team Concert plugin page at https://wiki.jenkins-ci.org/display/JENKINS/Team+Concert+Plugin#TeamConcertPlugin-RTCrelatedEnvironmentVariablesavailabletotheBuild has a list of variables exposed to Jenkins from RTC, but the RTC Build Workspace is not one of them when building from a RTC Build Definition.

      In the case of Jenkins jobs based on RTC Streams (new in teamconcert-plugin 1.2.0.0), this is mitigated by the presence of the new rtcTempRepoWorkspaceUUID property, but for jobs based on RTC Build Definitions (teamconcert-plugin 1.1.9.* and below), this value is not provided even though it is a mandatory field in the RTC Build Definition (and we use it in some of our custom plugins).

      We would like the RTC property team.scm.workspaceUUID to be part of the environment variables provided to Jenkins by RTC.

        Attachments

          Activity

          Hide
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment -

          Fixed in 1.2.0.4

          Show
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment - Fixed in 1.2.0.4
          Hide
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment - - edited

          Created work item 410454 to track the issue with team_scm_workspaceUUID not available as part of the environment variables in Repository Workspace based builds.

          Show
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment - - edited Created work item 410454 to track the issue with team_scm_workspaceUUID not available as part of the environment variables in Repository Workspace based builds.
          Hide
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment -

          team_scm_workspaceUUID is available for a build definition based build. I will fix the documentation to reflect this.
          This is not available for a Repository workspace based build though.

          Show
          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment - team_scm_workspaceUUID is available for a build definition based build. I will fix the documentation to reflect this. This is not available for a Repository workspace based build though.

            People

            Assignee:
            lvaikunt Lakshmi Narasimhan Vaikuntam
            Reporter:
            poin027 Nicolas Poisson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: