forceBuilds.py
0 answers - 2047 bytes -

I'm sorry, my last message may have been directed to the wrong person.
Toli, are you the author of forceBuilds.py? Can you tell me where I can
obtain a copy this script and any needed support files?
Thank you.
cc
Message
From: Toli Kuznets [mailto:toli (AT) marketcetera (DOT) com]
Sent: Tuesday, August 22, 2006 5:21 PM
To: Maven Users List; Ken DeLong; Jonathan Polansky; Thomas Boyles
Subject: XML-RPC scripts to kick off the continuum builds with subversion
To follow-up on an old thread from
users/200607.mbox/%@mail.gma
il.com%3E
I was forwarded a set of old python scripts (thanks Tom) that
interface with Conntiuum using XML-RPC to force the builds.
These are actually based on the code from
sandbox/continuum-python/
However, i found that the calling code in python files does not
correspond to the latest in java API:
Anyway, i made some modifications to continuum.py to match the actual
function names and # of params in the Java code, and wrote a simple
script that just always forces all the builds.
To make this work for those of you that want it, make these changes:
1. modify continuum.py to specify the right address for your continuum
server
2. modify your <continuum>/app/conf/application.xml to enable XML-RPC
and restart continuum
3. place the .py files somewhere (mine are in <svn-repo>/hooks directory)
3. modify your <svn-repo>/hooks/post-commit file to run the
forceBuilds.py script
enjoy.
if someone with authority wants to add this to the sandbox directory,
that'd be great.
7/14/06, dan tran <dantran (AT) gmail (DOT) comwrote:
you will need to get your svn's hook script's postcommit/postcommit.bat
to
call a jvm with your java app that
talk to continuum via XMLRPC.
so the gut is the java code, not the script.
Sorry I know this in theory only, but very comfortable it would work
this
way.