How to read Workspace UUID from build definition in Jenkins Pipeline?

One answer

In the pipeline script, this should be available as env.team_scm_workspaceUUID after the checkout step is over.
Comments

teamconcert buildType: [value: 'buildWorkspace', buildWorkspace: WORKSPACE]
echo " env.team_scm_workspaceUUID is " + env.team_scm_workspaceUUID
outpuis
RTC Checkout : Fetching Completed [Pipeline] echo env.team_scm_workspaceUUID is null</pre> <br>

This is a known issue with pipeline build, if env is accessed before calling teamconcert, then any environment variables updated by the plugin is not visible.