Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

It's possible to create read-only Source Control builds which fetch files from a Stream.


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?

0 votes



4 answers

Permanent link
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)

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.

It's possible to create read-only Source Control builds which fetch
files from a Stream.


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?

0 votes


Permanent link
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


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?

0 votes


Permanent link
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.

0 votes


Permanent link
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:
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


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?

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 24 '11, 8:20 p.m.

Question was seen: 4,835 times

Last updated: Oct 24 '11, 8:20 p.m.

Confirmation Cancel Confirm