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?
I usally use cc.net, but when I understand the documentation correctly you have two options:
requireModifications
attribute to false
(which is not exactly what you want)What happens with your configuration is the following: The "modification" build will be run throughout the day and thus at 03:00 am CruiseControl cannot detect any modifications (at least I would assume so). As there are no modifications the daily build is not run.
From the documentation:
... 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With