Re: Trigger build on commit issue

Paul Willworth <[email protected]> Wed, 23 Nov 2011 09:28:43 -0800
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Read up on the interval setting for the schedule element here:  http://cruisecontrol.sourceforge.net/main/configxml.html#schedule 

It determines how often cruise control will check to see if there are changes.

Paul Willworth
Portland General Electric

-----Original Message-----
From: Nicolae Ghimbovschi [mailto:[email protected]] 
Sent: Wednesday, November 23, 2011 8:54 AM
To: [email protected]
Subject: [Cruisecontrol-user] Trigger build on commit issue

Hello,

I'm running cruisecontrol 2.8.3 on a MacOSX 1.0.6.8 machine.

I'm trying to make cruisecontrol to trigger a build on svn commit, but
it is not working for me.


Using the config below, I was expecting to see a new build triggered
whenever someone commits to svn.
After 30 seconds and more nothing happens.

My project config from config.xml

file:///tmp/svnrepo/trunk is a local svn repository.

    <project name="project_fast">
        <listeners>
            <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
        </listeners>

        <modificationset quietperiod="30">
            <!--<svn LocalWorkingCopy="projects/${project.name}/trunk"-->
            <svn repositorylocation="file:///tmp/svnrepo/trunk"
                 username="user"
                 password="password"/>
        </modificationset>

        <schedule interval="30000000">
            <ant anthome="apache-ant-1.7.0" buildfile="build_project_fast.xml"/>
        </schedule>

    </project>

Any ideas on what I am doing wrong ?

Thanks !
Nicu

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d