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

    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

          poin027 Nicolas Poisson created issue -

          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.

          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.
          lvaikunt Lakshmi Narasimhan Vaikuntam made changes -
          Field Original Value New Value
          Assignee Lakshmi Narasimhan Vaikuntam [ lvaikunt ]

          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.

          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.

          Fixed in 1.2.0.4

          lvaikunt Lakshmi Narasimhan Vaikuntam added a comment - Fixed in 1.2.0.4
          lvaikunt Lakshmi Narasimhan Vaikuntam made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: