How can I move a snapshot without deleting the stream?
Hi. . . we use Jenkins for our build process which creates a workspace snapshot. In order to pull out the differences of code being delivered, we compare this snapshot to the flow target stream. We used to just compare the snapshot to the stream but found that we need more data for downstream forensics so now we snapshot the flow target stream and compare the snapshots.
We have anywhere from two to four parallel releases all delivering into PROD. So we have scads and scads of incoming changes everywhere because each release is accepting changes from other releases. On top of that, we have a ton of these build related snapshots that we have to constantly accept to reduce clutter.
I was thinking of a creating a snapshot storage stream off of PROD that had no flow targets set just to keep the snapshots in one place without having to accept them into every other stream. I'm not sure off hand which lscm can move snapshots but I'm hoping there is one.
Does anyone have any other suggestion or see any problems with this idea?
- Andy
Accepted answer
I agree that having a "snapshot storage" stream (or workspace) is the best way to group your snapshots.
To change the stream/workspace of the snapshot, in 4.0.5, you can use the:
scm set attributes --snapshot --ownedby <stream/workspace> ...
command.
In earlier RTC versions, you would use the:
scm snapshot promote <stream/workspace> ...
command.
To change the stream/workspace of the snapshot, in 4.0.5, you can use the:
scm set attributes --snapshot --ownedby <stream/workspace> ...
command.
In earlier RTC versions, you would use the:
scm snapshot promote <stream/workspace> ...
command.
Comments
Sonia Dimitrov
JAZZ DEVELOPER Feb 26 '14, 11:24 a.m.Andy Jewell
Feb 26 '14, 11:53 a.m.Andy Jewell
Feb 26 '14, 11:53 a.m.