Re: Question on Configuring Project with, Nightly build, Rebuild on Failure
Glenn Boysko <[email protected]> Thu, 9 Feb 2012 09:45:15 -0500
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <83BDAC2C1FD82D4F80A40EA9ACB9DCA526927BC516@VMBX134.ihostexchange.net> |
Hello Dan:
Thanks for the feedback. I would use the dependent build approach if I could figure out how to trigger a build in the case of another project's failure. It seems that the buildstatus tag only triggers when the build is successful.
I was trying to use the "fallback build" approach outlined in the Wiki ("The fallback build - CI during the day, falling back to a forced nightly build"), but in the event of a failure, I couldn't the configuration to only run if there were modifications. It seems that the timebuild element always triggers if there hasn't been a successful build since the build time.
Regards,
Glenn
-----Original Message-----
From: Dan Rollo [mailto:[email protected]]
Sent: Tuesday, February 07, 2012 10:31 PM
To: [email protected]
Subject: Re: [Cruisecontrol-user] Question on Configuring Project with, Nightly build, Rebuild on Failure
Hi Glenn,
Multiple 'ant' tags under <schedule> will not work (at least not like you want).
From the docs:
http://cruisecontrol.sourceforge.net/main/configxml.html#schedule
Note: Only one builder is used for a given interval where modifications are found. Builds using the time attribute take precedence over builds using the multiple attribute. If no matching time builds are found the multiple builds are evaluated by the value of their multiple from high to low. If there are multiple Builders with the same multiple only one will build but which one is undefined.
You may want to create two <project> tags, like the example: "The dependent build" from http://confluence.public.thoughtworks.org/display/CC/CruiseControl+Scheduling+Scenarios.
Dan
Date: Mon, 6 Feb 2012 18:12:57 -0500
From: Glenn Boysko <[email protected]>
Subject: [Cruisecontrol-user] Question on Configuring Project with
Nightly build, Rebuild on Failure
To: "[email protected]"
<[email protected]>
Hello CruiseControllers:
I am using CruiseControl 2.8.4 and am wondering if it is possible to configure a project to build according to these guidelines:
* Assuming the last build was successful, kick of a new build at
fixed time each night (e.g., 8am)
o Run the project regardless of whether there was source control changes
o This project is a DB validation project and changes may occur
outside of source code changes
* If the last build was not successful, kick off a new build if
there was changes to the source code tree
o We store baseline results in the SVN source tree, so if those
change, that might all we need to do to get the build running again.
I have been trying to setup a project with these characteristics, but
with no luck:
* project has requireModifications set to false
* modificationset identifies the changes that would trigger a
new build if the baseline data changes
* schedule has two ant children:
o One with time="0800"
o One with multiple="1"
I've been reviewing
http://confluence.public.thoughtworks.org/display/CC/CruiseControl+Scheduling+Scenarios
but I don't find my scenario.
Is this possible with 2.8.4?
Thanks,
Glenn
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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/