deliver snapshot to a stream
4 answers
Hi ,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.
is there a way to deliver snapshot change-sets to a stream ?
so all baseline will be replace like the snapshot
Thanks,
Mickey
Hi ,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.
is there a way to deliver snapshot change-sets to a stream ?
so all baseline will be replace like the snapshot
Thanks,
Mickey
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
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).
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).
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
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