Re: Configuring cruise-control to NOT automatically build a forceOnly="true" project the first time it starts up
Doug Daniels <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
My bad I should have took the 2 minutes to RTFM apparently I just need to use the following properties: <project forceOnly="true" requireModification="false" forceBuildNewProject="false" On Fri, Oct 9, 2009 at 11:15 AM, Doug Daniels <[email protected]>wrote: > I have a project that is configured to build only through forceOnly="true", > but when I setup a new cruise-control server and copy the config.xml it will > automatically kick off those project builds (which we use for things like > publishing our build to QA servers which we want to control). > > I've tried adding and removing modificationset to alwaysbuild, but it > doesn't make a difference, so currently I'm running without it: > <modificationset> > <alwaysbuild /> > </modificationset> > > Here's what the current project configuration looks like: > > <project forceOnly="true" > name="Publish pvp To Test and Restart Servers"> > <plugin name="svn" > classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN" /> > <plugin name="svnbootstrapper" > > classname="net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper" /> > <listeners> > <currentbuildstatuslistener > file="logs/${project.name}/status.txt" /> > </listeners> > <bootstrappers> > <svnbootstrapper username="${user}" > file="${dev.root}/config" password="${password}" /> > </bootstrappers> > > <schedule> > <composite> > <maven2 mvnhome="${mvn.home}" > pomfile="${pvp.parent}/pom.xml" > goal="scm:update-subprojects" /> > > <exec workingdir="${dev.root}/config/scripts" > command="bash" args="-l -c 'cd > /cygdrive/c/project/config/scripts;./alltestbuild'" showProgress="true" /> > </composite> > </schedule> > > </project> > > > > ~ doug daniels > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user