Welcome to the Jazz Community Forum
How do I create a snapshot in a stream from a Jenkins build?

One answer

Comments

But that has to be done manually. Is it possible to do it automatically?

You can use scm CLI in your build scripts to promote the snapshots to the stream.

That will require buildResultUIID, but I don't see it or the RTCbuildResultUUID you mentioned in another comment in my Jenkins job.

If you are using RTC SCM in a pipeline job, having a look at the discussion in 370979: Environment variables for snapshot, build result UUID are null if env object is accessed before running teamconcert checkout step might help.
Thanks,
Sridevi
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
JY Hsu
Jun 28 '16, 10:14 a.m.One other related question is that in Jenkins build triggered from Jenkins, I don't get buildResultUUID. However, most of the build system toolkit commands needs that. How do I get the buildResultUUID while also trigger build from Jenkins?
Sridevi Sangaiah
JAZZ DEVELOPER Jul 01 '16, 1:41 a.m.I believe once the Jenkins build is done, the buildResultUUID will be available in the "RTCBuildResultUUID" environment variable.