Deliver a snapshot from one stream to another
We have staging and production streams, where we want to only deliver selected builds from staging to production, depending on if they were tested successfully or not.
Is there a way to deliver a particular snapshot in one stream (staging) to another (production)?
Something like
scm deliver -s "staging" -t "production" -snapshot "<uuid>"
I looked at the "deliver" command, it supports delivering a baseline, but not a snapshot. The issue is that my stream has 25 components in it, so delivering a snapshot makes more sense here.
Thank you.
Comments
Niraj Doshi
Oct 07 '19, 8:18 a.m.I think I am getting forward with the replace-components command.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 07 '19, 9:09 a.m.As far as I know, snapshots can not be delivered. Snapshots are owned by a stream and track the baselines for the components in the stream at the time the snapshot is created. If needed or forced new baselines are created.
Niraj Doshi
Oct 07 '19, 1:30 p.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 08 '19, 2:14 a.m.I have not had a lot of time, but I was not able to find anything promising yet. It might be, that there is nothing. One option would be to recreate the configuration in the stream and take a new snapshot. Another option would be to look into the Plain Java Client Libraries this should be doable using the API. I would also think that an enhancement request could be created, if you do not find anything else.