How to fetch files from stream to do build?
In Dedicated build workspaces section of RTC Help (2.0 and 3.0)
There is a Jazz Source Control pre-build step which can be added to a build that makes it easy to fetch files from a Jazz repository workspace or stream. The Source Control step will add a page to the build definition and allow you to configure how to fetch the files. Has anyone tried to fetch files from a stream instead of workspace? How do you get source from a stream? You can "load" components from a workspace, how do you do that with a stream? |
4 answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Oct 24 '11, 9:44 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would recommend not trying to build directly from the stream. There
are a variety of anomalies that can occur. What were you trying to achieve by doing so? Cheers, Geoff On 10/24/2011 8:23 PM, ghu wrote: In Dedicated build workspaces section of RTC Help (2.0 and 3.0) |
I would recommend not trying to build directly from the stream. There Hi Geoff, We have teams which plan to move to RTC SCM but stick with their existing script-driven build practice which requires to pull source from CC dynamic views to the build boxes. So we are looking for similar ways of pulling the source from RTC. While trying the stand way of using a workspace wihtout involving RTC build tools, it seems hard to automate the process using scmtools to pull the latest source via a workspace branching off from the release stream. I know in RTC Build Definition, one can easily specify the workspace, load option and accept option. But as the teams are not ready for using RTC build tools yet, how do we acchieve the same goal using scmtools? |
You can't load a stream and it's not a very good idea. The contents of the stream can be changed by another user when delivers while you may be performing the build. You wouldn't know what went into the build.
If you're using the command line, you might as well create a workspace just for the build. The command line can accept the latest from the stream, create a snapshot, and load the workspace. |
Geoffrey Clemm (30.1k●3●30●35)
| answered Oct 25 '11, 10:57 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Only ClearCase provides dynamic views ... all other SCM systems
(including RTC-SCM) copy files from the repository onto the local disk. So if you tried to load directly from a stream, all you would save is the time it takes to create a workspace on the stream, and that operation is very cheap, so you don't save anything significant. Cheers, Geoff On 10/25/2011 7:38 AM, ghu wrote: gmclemmwrote: |
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.