Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Available in plugin version and above and Jenkins 2.60 and above. With the fix from Issue 26100, checkout step now returns a map that is expected to be populated by the SCM RTCSCM invoked in that step. Team Concert Plugin needs to adopt some changes and that is tracked through Enhancement 446242. Variables that has adopted required changes  and variables that were earlier contributed to the environment will now be available in the map. For instance, you can do something like the following to get the required values into scmvars variable

Code Block
def scmvars = checkout([$class: 'RTCScm'...])



Note 2:

If you are not using the latest version of Team Concert Plugin and With workflow-cps 2.40, the env object is repopulated. See JENKINS-42499 and this Jenkins developers forum post.