Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Requesting a build of a particular baseline

Hello...

I have a Build Definition that I can pass a parameter to. It builds, then, depending on the parameter, copies the artifacts to one of two servers: development or QA.

Our process is this:
We first create a baseline "B0", and do a "development" build, which places the artifacts on a development server.
Developers work on new features, delivering changesets to the stream.
Now, we want to do another build, to make our QA server look exactly like the development server.

How do we build the same artifacts from the B0 baseline, without also building the newly delivered changesets?

My guess:
On the build definition, uncheck "Accept latest changes before loading"
and
On the repository workspace that is associated with the build, click the Component(s) that we want to build, and replace them with the baseline we want to build.
then
Request a build.

However, I seem to be getting the additional changesets that were delivered to the stream.

Thoughts?

Thanks...
Travis

0 votes



4 answers

Permanent link
What you describe below should work.
When you say "I seem to be getting additional change sets", when is this
happening?
In particular, does the build workspace have the right baseline before
the build, but the wrong baseline after the build? (i.e. have you
confirmed that it is the build step that is adding the additional change
sets?
One way to make sure the build workspace is not modified by the build is
to remove the flow targets from the build workspace. Then even if
"Accept latest changes before loading" is running, it will have no
stream from which to accept changes.

Cheers,
Geoff

travman wrote:
Hello...

I have a Build Definition that I can pass a parameter to. It builds,
then, depending on the parameter, copies the artifacts to one of two
servers: development or QA.

Our process is this:
We first create a baseline "B0", and do a
"development" build, which places the artifacts on a
development server.
Developers work on new features, delivering changesets to the stream.
Now, we want to do another build, to make our QA server look exactly
like the development server.

How do we build the same artifacts from the B0 baseline, without also
building the newly delivered changesets?

My guess:
On the build definition, uncheck "Accept latest changes before
loading"
and
On the repository workspace that is associated with the build, click
the Component(s) that we want to build, and replace them with the
baseline we want to build.
then
Request a build.

However, I seem to be getting the additional changesets that were
delivered to the stream.

Thoughts?

Thanks...
Travis

0 votes


Permanent link
When you say "I seem to be getting additional change sets", when is this happening? In particular, does the build workspace have the right baseline before the build, but the wrong baseline after the build?


Yes, that is exactly the case.


One way to make sure the build workspace is not modified by the build is to remove the flow targets from the build workspace.


This worked for me. Thanks for your help!

0 votes


Permanent link
I agree, it should work with the steps you give. No other changes should be accepted into the build workspace if you've unchecked "Accept latest changes before loading"

If it's not working as advertised, please file a work item agains RTC / Build.

Geoff's suggestion of removing the component flows is worth trying out too, to help narrow down the problem.

0 votes


Permanent link
See also enhancement 90272: Allow building against existing snapshot.

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 15 '09, 2:49 p.m.

Question was seen: 5,465 times

Last updated: Oct 15 '09, 2:49 p.m.

Confirmation Cancel Confirm