Re: [JIRA] Created: (CC-1007) Two scheduled build scenarios in one project - why don't they work?

Ephrelm <[email protected]>
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <[email protected]>
Hello Yegor,

Time-based builds are probably eaten by modification-based builds, see
http://cruisecontrol.sourceforge.net/main/configxml.html#schedule

"CruiseControl allows the user to schedule an arbitrary number of
builds, either on interval or triggered to run at a given date/time, as
well as pause intervals during which no builds will be run. Builds will
only run if modifications are found, a build is forced from JMX
interface, or the <project>
<http://cruisecontrol.sourceforge.net/main/configxml.html#project> has
|requireModifications| set to false. Because of this it is usually not a
good idea to mix time builds and multiple builds in the same project as
the multiple builds will "eat" all the changes before they can be
detected by the time based builds. "


As a workaround, you can setup two projects: one for time-based builds
and another one for the modification-based builds.

hth,

--
boris



Le 10/10/2010 18:33, Yegor Bugayenko (JIRA) a écrit :
> Two scheduled build scenarios in one project - why don't they work?
> -------------------------------------------------------------------
>
>                  Key: CC-1007
>                  URL: http://jira.public.thoughtworks.org/browse/CC-1007
>              Project: CruiseControl
>           Issue Type: Bug
>             Reporter: Yegor Bugayenko
>             Priority: Major
>
>
> I'm trying to configure CruiseControl to build the project on every modification of source code and every day at 3:00am. This is what I've done so far in project.xml (and it doesn't work, daily builds are not done):
>
> [...]
> <schedule interval="120">
>   <maven2 ... />
>   <maven2 ... time="0300"/>
> </schedule>
> [...]
>
> What am I doing wrong?
>
>   



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Cruisecontrol-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.