What happens if a change set is delivered to a stream while that stream is fetching for a build?
Some of our components are quite large and users have expressed concern over what might happen if they deliver a change set while a build is in the process of fetching. I am hoping that the fetch creates a snapshot before it starts and knows that anything delivered after it starts should be excluded. Is that the case? Thanks, Alexa
|
Accepted answer
3 other answers
If you are using the JBE, then let your worries be gone. The JBE creates a snapshot first and then populates the build workspace with the snapshot. So, at the time of the snapshot creation all delivered change sets would be included in the snapshot and thus the build. If the change set was delivered during the build process it would not be picked up by the JBE because it was not in the snapshot.
Hope this helps.
Comments
Robert Carter
commented Sep 24 '13, 11:58 a.m.
To be clear the fetch happens on the snapshot not the stream. The fetch occurs on the build workspace.
|
Once the build workspace has finished accepting changes from the stream, any deliveries to the stream will miss the build. The changes will have to wait until the next build.
If you're wondering about what happens when the workspace is accepting when someone delivers to the stream, the accept operation works off of a report to specify which changes will be accepted. It wouldn't know about the new changes while accepting. I also believe the snapshot occurs after accepting changes. Someone else may correct me if I'm wrong. |
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.