It's all about the answers!

Ask a question

deliver snapshot to a stream


Mickey Roash (9021616) | asked Mar 22 '12, 6:56 p.m.
Hi ,

is there a way to deliver snapshot change-sets to a stream ?
so all baseline will be replace like the snapshot

Thanks,
Mickey

4 answers



permanent link
Tim Mok (6.6k38) | answered Mar 23 '12, 10:01 a.m.
JAZZ DEVELOPER
Hi ,

is there a way to deliver snapshot change-sets to a stream ?
so all baseline will be replace like the snapshot

Thanks,
Mickey
Where did you create the snapshot? If it is a snapshot of the stream, the change sets already exist there. If you created it on a workspace, flow the changes from the workspace to the stream.

permanent link
Mickey Roash (9021616) | answered Mar 23 '12, 12:07 p.m.
Hi ,

is there a way to deliver snapshot change-sets to a stream ?
so all baseline will be replace like the snapshot

Thanks,
Mickey
Where did you create the snapshot? If it is a snapshot of the stream, the change sets already exist there. If you created it on a workspace, flow the changes from the workspace to the stream.

It was create automatically on workspace with build integration.
but I want to apply changes from old snapshot before few days ,so flow the workspace to stream will not help me .
I had promote the snapshot to stream ,but i found out that it not apply change-sets to steam by this action .

Thanks,
Mickey

permanent link
Tim Mok (6.6k38) | answered Mar 23 '12, 3:16 p.m.
JAZZ DEVELOPER
This work item may be what you want: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/194461

The workaround is to use scm cli to deliver the baselines. There is no setting in a build definition to do this for you.

What my team does is a combination of a "good build stream" and post-build deliver. When a build passes, post-build deliver will send those changes (including the baselines) to the "good build stream". The work flow is to deliver to a dev stream and it will go into a build. A successful build is delivered to a good stream where you can accept the baselines.

Another method we use is creating a baseline on outgoing changes and delivering that to an integration stream. Then the team knows what went into each build when a build runs on the integration stream (the baselines will exist in the snapshot and the stream).

permanent link
Geoffrey Clemm (30.1k33035) | answered Mar 24 '12, 2:59 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In order to make the configuration of the stream be that of a specified snapshot, you would use the "replace" operation. Ideally, you'd like to be able to do this directly from the Team Artifacts view, but that is not yet supported (I've submitted work item 203319 requesting this support).

For now, you can either use the command line, or use the Pending Changes view in the GUI. In the Pending Changes view, select a workspace that has the desired stream as its current flow target, and select the "replace in" operation. Alternatively, if the stream has at least one flow target, you can select the stream in the Pending Changes view, and select the "Replace" operation.

Cheers,
Geoff

Hi ,

is there a way to deliver snapshot change-sets to a stream ?
so all baseline will be replace like the snapshot

Thanks,
Mickey

Your answer


Register or to post 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.