It's all about the answers!

Ask a question

Contin. integr. build should only run for specified compon.


Peter Bendel (611) | asked Mar 01 '11, 2:11 a.m.
I set up a build definition to
- run every five minutes
- accept latest changes before loading
- build only if there are changes accepted
- specifies that only some of the components in the workspace are to be built and excludes several components
- uses its own repository workspace that has only two components loaded

The actual build is executed using the RTC Build engine toolkit on a Windows Server.

My automated build gui_build is now running sucessfully whenever someone delivers changes to the repository stream.

However I have the following problem.

The build is running with a repository workspace that has only components gui and guibuild loaded.

However whenever someone checks in code to ANY OTHER COMPONENT in the same stream, e.g. for component stored procedures, the build is triggered, too.

The gui component build should only run, when either the gui or the guibuild component has delivered changes. How can I achieve that ?

Rational Team Concert - Build System Toolkit
V 2.0 (2.0.0.I20090618-2136)

Rational Team Concert - Client for Eclipse IDE
V 2.0.0.2 iFix 6 (2.0.2001.I20110128-2059)

Note:

I want to achieve the same as I had in CruiseControl with

<modificationset>
clearcase Branch="xxxx" Viewpath="yyyy" />
</modificationset>

2 answers



permanent link
David Olsen (5237) | answered Mar 01 '11, 10:38 a.m.
JAZZ DEVELOPER
On 2011/02/28 23:23, peter_bendel wrote:
The build is running with a repository workspace that has only
components gui and guibuild loaded.

However whenever someone checks in code to ANY OTHER COMPONENT, e.g.
stored procedures, the build is triggered, too.

The gui build should only run, when either the gui or the guibuild
component has delivered changes. How can I achieve that ?

Edit the workspace used for your build. Remove all the components other
than gui and guibuild. Don't just unload them, remove them entirely
from the workspace. Then edit the workspace's flow target, selecting
"Flow only components checked below:" and make sure that only gui and
guibuild are checked.

--
David Olsen
IBM Rational

permanent link
Peter Bendel (611) | answered Mar 04 '11, 1:11 p.m.
On 2011/02/28 23:23, peter_bendel wrote:
The build is running with a repository workspace that has only
components gui and guibuild loaded.

However whenever someone checks in code to ANY OTHER COMPONENT, e.g.
stored procedures, the build is triggered, too.

The gui build should only run, when either the gui or the guibuild
component has delivered changes. How can I achieve that ?

Edit the workspace used for your build. Remove all the components other
than gui and guibuild. Don't just unload them, remove them entirely
from the workspace. Then edit the workspace's flow target, selecting
"Flow only components checked below:" and make sure that only gui and
guibuild are checked.

--
David Olsen
IBM Rational

Thanks David, that worked perfectly.
(Sorry for the late response - I had to resolve anothe issue with my build before I could try your solution) :D

Your answer


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