Unable to Trigger Build

Jie Sheng Chua <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CAKuaaP6wQD3h7MV-fQG47fZJcw18XqCgKSHAyBNhFbkSPRunDw@mail.gmail.com>
Hi People,

I have a project that I was CruiseControl to build whenever I commit
to Mercurial, Bitbucket.
But I only manage to let it update and it does not trigger build.
How do I make it build when he detect a commit in Mercurial?
Please help.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
config.xml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

       <project name="CS2103T_CE1">

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

               <bootstrappers>
                       <mercurialbootstrapper
localworkingcopy="projects/${project.name}">
                       </mercurialbootstrapper>
                       <!--<antbootstrapper
anthome="apache-ant-1.7.0"
buildfile="projects/${project.name}/build.xml" target="test" />-->
               </bootstrappers>

               <modificationset quietperiod="30">
                       <!-- touch any file in connectfour project to
trigger a build -->
                       <mercurial
localworkingcopy="projects/${project.name}" hgcommand="incoming" />
               </modificationset>

               <schedule interval="300">
                       <ant anthome="apache-ant-1.7.0"
buildfile="projects/${project.name}/build.xml" target="test" />
               </schedule>

               <log>
                       <merge
dir="projects/${project.name}/target/test-results"/>
               </log>

               <publishers>
                       <artifactspublisher
dest="artifacts/${project.name}" dir="projects/${project.name}/report"
/>
                       <onsuccess>
                               <artifactspublisher
dest="artifacts/${project.name}"
file="projects/${project.name}/dist/${project.name}.jar"/>
                       </onsuccess>
               </publishers>

       </project>



-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Log from CruiseControl
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[cc]Aug-14 17:13:48 Project       - Project CS2103T_CE1:  in build queue
[cc]Aug-14 17:13:48 jectController- CS2103T_CE1 Controller: build
progress event: in build queue
[cc]Aug-14 17:13:48 BuildQueue    - now adding to the thread queue: CS2103T_CE1
[cc]Aug-14 17:13:48 Project       - Project CS2103T_CE1:  bootstrapping
[cc]Aug-14 17:13:48 jectController- CS2103T_CE1 Controller: build
progress event: bootstrapping
[cc]Aug-14 17:13:51 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:52 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:53 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:53 VNBootstrapper- pulling from
https://[username]:***@bitbucket.org/chuajiesheng/cs2103t_ce1
[cc]Aug-14 17:13:54 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:55 VNBootstrapper- searching for changes
[cc]Aug-14 17:13:55 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:55 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:56 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:57 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:58 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:13:59 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:14:00 VNBootstrapper- adding changesets
[cc]Aug-14 17:14:00 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:14:00 VNBootstrapper- adding manifests
[cc]Aug-14 17:14:00 VNBootstrapper- adding file changes
[cc]Aug-14 17:14:00 VNBootstrapper- added 1 changesets with 1 changes to 1 files
[cc]Aug-14 17:14:01 VNBootstrapper- warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:14:01 VNBootstrapper- 1 files updated, 0 files merged, 0
files removed, 0 files unresolved
[cc]Aug-14 17:14:02 Project       - Project CS2103T_CE1:  checking for
modifications
[cc]Aug-14 17:14:02 jectController- CS2103T_CE1 Controller: build
progress event: checking for modifications
[cc]Aug-14 17:14:02 Mercurial     - Using Mercurial: 'version 1.9.1'
[cc]Aug-14 17:14:05 Mercurial     - warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:14:06 Mercurial     - warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:14:07 Mercurial     - warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:14:08 Mercurial     - warning: certificate for
bitbucket.org can't be verified (Python too old)
[cc]Aug-14 17:14:08 Project       - Project CS2103T_CE1:  No
modifications found, build not necessary.
[cc]Aug-14 17:14:08 Project       - Project CS2103T_CE1:  idle
[cc]Aug-14 17:14:08 jectController- CS2103T_CE1 Controller: build
progress event: idle
[cc]Aug-14 17:14:08 Project       - Project CS2103T_CE1:  next build
in 5 minutes
[cc]Aug-14 17:14:08 Project       - Project CS2103T_CE1:  waiting for
next time to build
[cc]Aug-14 17:14:08 jectController- CS2103T_CE1 Controller: build
progress event: waiting for next time to build

Thanks and Best Regards
Chua Jie Sheng

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
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.