Scheduled Nightly Build

Christian Baumann <[email protected]> Thu, 19 Apr 2012 15:39:04 +0200
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I hope I am stating my question in the correct mailinglist, since this is my very first time posting into one.

I'd like to build a project I own automatically at a given time, i.e., nightly, regardless whether there have been
modifications in the repository, or not.
My config.xml looks pretty much like:

- --------8<------SNIP------->8----------
<cruisecontrol>
  <system>
    <configuration>
      <threads count="2"/>
    </configuration>
  </system>

  <!-- [...] Many properties are set [...] -->

  <!-- =============================================================================================
                                     NIGHTLY BUILD
       ========================================================================================= -->
  <project name="MyProject_nightly" requireModification="false" buildafterfailed="false">
    <!-- [...] Hell amount of properties are set [...] -->

    <listeners>
      <currentbuildstatuslistener file="${build.log.dir}/status.txt" />
    </listeners>

    <modificationset>
      <mercurial localWorkingCopy="${build.view.dir}"/>
    </modificationset>

    <!-- Get the bootstrapper and build file initially. -->
    <bootstrappers>
      <svnbootstrapper file="${bootstrap.file}"/>
      <svnbootstrapper file="${build.file}"/>
    </bootstrappers>

    <schedule>
      <composite time="0030">
        <!-- Bootstrap SVN -->
        <ant target="bootstrap" anthome="${env.ANT_HOME}" antWorkingDir="${build.workspace.dir}"
          uselogger="true" buildfile="${bootstrap.file}">
          <!-- [...] -->
        </ant>

        <!-- Build and test -->
        <ant target="full-build" anthome="${env.ANT_HOME}" antWorkingDir="${build.workspace.dir}"
          uselogger="true" buildfile="${build.file}">
          <!-- [...] -->
        </ant>
      </composite>
    </schedule>

    <!-- [...] -->
  </project>
</cruisecontrol>
- --------8<------SNIP------->8----------

Although I explicitly said the build should be executed at "0030", the build is triggered sort of randomly.
Nevertheless, succeeding builds are triggered approximately 24h after eachother.
Here are the last build times:
    04/19/2012 13:44:32 (build.1)
    04/17/2012 17:33:50
    04/16/2012 11:08:57
    04/15/2012 18:55:22
    04/14/2012 16:58:18
    04/13/2012 17:17:52
    04/12/2012 15:50:01
    04/11/2012 16:12:04

What did I do wrong?

Greetings,
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPkBV4AAoJEO2IMhqLUlJK1YcIAJ895Ulp9vildgGwVLPQO1cO
CKtPIumh+W+emf+sPFWYFk2pXQQ6nQqhIXQ0ZGA12jTRGNKucOk+lJhL98mmKto9
fkCsGfZQMzWEg7enofZxiSnJ1/RbtgmhjZYKRy9Pnk+sXa3W6O9ofRCY336b7+OI
f1Mh66B29t5Jg6qzFJutsjr+POhilUvI8GAL3dlIIX+YWwGIZ6b/c6we/Zg9SacC
R6QQa/+CkPOdtiwu/8DCuGAa4PyN6BjaTqryBS6Xdp8Xmz0Lu4JgwTOk4hnIQxHH
JEAzDIRrhYY+dmnHIh7d8gX90zrGVbqjL2D/oAwqLLJFmpmJjgjeWEPJouL+NYo=
=S8GH
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2