Re: Controlling Failed Builds...

Julian Simpson <[email protected]> Fri, 10 Feb 2012 16:08:46 +0000
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CANwBkz_i_Jywr7FZce2CU5WdpJJQ3AXTzw-Zt4wKG2Gc6OdGRA@mail.gmail.com>
On 10 February 2012 15:59, Glenn Boysko <[email protected]> wrote:

> I am using CruiseControl 2.8.4 as well. I am wondering if my changes are
> not having an effect because they are not being loaded from disk: my
> config.xml includes a bunch of projects via XML ENTITY replacement. If the
> config.xml doesn't change, will CruiseControl reload it? I am thinking it
> will not. I'll try to force a reload of config.xml now...
>

I thought it did poll for changes.  I wrote a blog post about it:

http://www.build-doctor.com/2008/07/25/cruisecontrol-best-practices-configuration-the-cruisecontrol-way/

I'd have a look in the source if I weren't debugging something else.

J.


> -----Original Message-----
> From: Steve Murphy [mailto:[email protected]]
> Sent: Friday, February 10, 2012 10:56 AM
> To: [email protected]
> Subject: Re: [Cruisecontrol-user] Controlling Failed Builds...
>
> What version of CruiseControl are you using?
>
> I am using 2.8.4 and it works for my project, here is an example of my
> project tag
>
>    <project buildAfterFailed="false" name="Build_32_Linux"
> requireModification="true">
>
> Steve.
>
> -----Original Message-----
> From: Glenn Boysko
> Sent: Friday, February 10, 2012 3:40 PM
> To: [email protected]
> Subject: Re: [Cruisecontrol-user] Controlling Failed Builds...
>
> Sorry, but I tried that. Doesn't have an effect. I think that the
> modificationset still returns the same set of modifications as caused the
> initial failure.
>
> I also experimented with setting useLocalRevision="true" on the <svn>
> elements inside modificationset. No luck.
>
> -----Original Message-----
> From: Steve Murphy [mailto:[email protected]]
> Sent: Friday, February 10, 2012 10:38 AM
> To: [email protected]
> Subject: Re: [Cruisecontrol-user] Controlling Failed Builds...
>
> HI Glenn,
>
> If you set the buildafterfailed attribute to false in your project tag, I
> think that will do it.
>
> Regards,
> Steve
>
> From: Glenn Boysko
> Sent: Friday, February 10, 2012 3:23 PM
> To: [email protected]
> Subject: [Cruisecontrol-user] Controlling Failed Builds...
>
>
> Hello:
>
>
>
> I have basic question about the CruiseControl build loop and controlling
> it for failed builds. I know that when a build is successful, it will not
> build again until there are modifications. However, when a build fails,
> CruiseControl keeps rebuilding on interval specified by the schedule
> element. I guess this is due to the fact that modifications that caused the
> failure are not “consumed” and thus remain as modifications until the build
> is successful.
>
>
>
> Is there a way for CruiseControl to “consume” the original modifications
> that caused the first build failure and not try to build again until a new
> set of modifications arrive?
>
>
>
> Thanks,
>
> Glenn
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning Cloud computing
> makes use of virtualization - but cloud computing also focuses on allowing
> computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning Cloud computing
> makes use of virtualization - but cloud computing also focuses on allowing
> computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning Cloud computing
> makes use of virtualization - but cloud computing also focuses on allowing
> computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning Cloud computing
> makes use of virtualization - but cloud computing also focuses on allowing
> computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>



-- 
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]
(+44) 207 183 0323

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

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