Re: Fw: distributed cruise: parallel, builds

Vindhya S <[email protected]> Tue, 31 Jan 2012 14:06:25 -0800 (PST)
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi Dan,
 
Thanks  a lot for the Information.
 
Is there any plan for  compositeConcurrent  support  in near future?.
 
Also few questions about distributed 2.8.4 cruise control options..
 
1. force build not working from ui. when I click on build button showing up some pop-up window and then selected ok but still it is not forcing the build. Is this supported in  distributed 2.8.4 cruise control src version?.
 
2. status link from the ui not working.?
 
3.JMX  control panel also not working(not visible).
 
 
Thanks..
 

From: Dan Rollo <[email protected]>
To: [email protected] 
Sent: Tuesday, January 31, 2012 12:04 AM
Subject: Re: [Cruisecontrol-user] Fw: distributed cruise: parallel, builds

Hi Vin,

A couple ideas:

1. It sounds like what you really want is an extension of the 
"composite" builder, like a: "compositeConcurrent" builder. Such a new 
builder would allow multiple child builders to execute concurrently. 
However, this new builder would have to figure out how to deal with 
collecting all the results and handle failures in a thread safe manner.

2. You might be able to signal build failures across projects by using 
some sort of "listener" 
(http://cruisecontrol.sourceforge.net/main/configxml.html#listeners) 
that would place a file somewhere indicating failure in a build. Then, 
other builds could check for such a file (maybe using their own 
listeners) and fail an ongoing build when it detects that another build 
had failed.

I seem to remember discussions of other, more elegant approaches for 
projects signaling each other, so you should probably search the list 
archives too.

Dan


Date: Fri, 27 Jan 2012 11:04:01 -0800 (PST)
From: Vindhya S <[email protected]>
Subject: Re: [Cruisecontrol-user] Fw: distributed cruise: parallel
    builds
To: "[email protected]"
    <[email protected]>

Hi Dan,
?
Thanks a lot for the reply.
?
Here is my usecase:
?
1. Our current build taking more than 10 hours to complete, we want to 
reduce the build time(ex: 2 hours).
2. This build includes around 500 tests execution.
3. We are thinking of distributing the build?tests to different agents 
and get the results to master? under single project. so we can complete 
build in less time.
?
?
I am using cruise control distributed 2.8.4 source.
?
?
Questions:
?
1.?Here is my sample config file.
?
??????? ?<cruisecontrol>
?????????? <system>
???????????? <configuration>
???????????????? ?<threads count="5" />
???????????? </configuration>
???????? ?</system>
???????????<project name="master-pr"............???
?????????????????? <schedule interval="60">
????????????????????? <composite>
?????????????????????? ?<distributed entries="agent.name=num1"
?
??????????? </project>
??????????? <project name="agent-pr"............???
???????????? </cruisecontrol>
?
????? I have devided the tests among the projects(different build file 
for each project with different set of tests). build starting on the 
agents and executing the tests.
But how can I get single set of results(under master-pr)??.
?
2. If build on the agent fails(ex: if any unit test fails)?it should 
fail master-pr build?as agent-pr result part of master build. How it is 
possible as these two are different projects.
?
3. How master-pr will wait for the agent-pr build completion?.
?
?
Thanks
Vin

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user