|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Need help Regarding Cruise Control configHi All, I am new to Cruise Control and I want to use it to automate
the build process for my application. I have cruise control installed on one server and I want to
point my CVS code (at another server) to it so that Cruise Control can
automatic build that (using ant), check for code updates and can generate some
reports. Can anyone help me? I am using Cruise Control on Linux. Thanks in advance. Thanks and Regards, DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
|
|
|
Re: Need help Regarding Cruise Control configHi Frank,
Thanks for reply. I can use this type of code to export code from CVS <project name="my-project" default="build" basedir="checkout"> <target name="build"> <delete dir="My_Project" /> <cvs cvsRoot=":ext:cruise@cvs:/var/opt/cvs" command="co My_Project" reallyquiet="true" /> </target> </project> And after that I can use code something like. <cruisecontrol> <project name="my-project"> <bootstrappers> <currentbuildstatusbootstrapper file="logs/my-project/buildstatus.txt" /> </bootstrappers> <modificationset quietperiod="60"> <cvs localworkingcopy="checkout/My_Project"/> </modificationset> <schedule interval="60"> <ant buildfile="build.xml" target="build" uselogger="true" usedebug="false" /> </schedule> <log dir="logs/my-project/" /> <publishers> <currentbuildstatuspublisher file="logs/my-project/buildstatus.txt" /> <email mailhost="localhost" returnaddress="cruise@mailserver" buildresultsurl="http://cruisecontrol:8080/buildresults/my-project" skipusers="true" spamwhilebroken="true"> <always address="developer@mailserver" /> </email> </publishers> </project> </cruisecontrol> But this works when CVS and Cruise Control both are on same server. In my case there are 2 server and I have to export code from remote CVS server. Thanks and Regards, Lokesh Agrawal -----Original Message----- From: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] On Behalf Of f.meissner@... Sent: Tuesday, July 01, 2008 5:07 PM To: cruisecontrol-user@... Subject: Re: [Cruisecontrol-user] Need help Regarding Cruise Control config > -----Ursprüngliche Nachricht----- > Von: "Lokesh Agrawal" <lokesh_agrawal@...> > Gesendet: 01.07.08 13:08:35 > An: <cruisecontrol-user@...> > Betreff: [Cruisecontrol-user] Need help Regarding Cruise Control config > Priorität: Hoch > Hi All, > > I am new to Cruise Control and I want to use it to automate the build > process for my application. > > I have cruise control installed on one server and I want to point my > CVS code (at another server) to it so that Cruise Control can > automatic build that (using ant), check for code updates and can > generate some reports. > > Can anyone help me? I am using Cruise Control on Linux. Hello, the polite answer lies in http://cruisecontrol.sourceforge.net/gettingstarted.html the not-so polite answer lies in http://www.catb.org/~esr/faqs/smart-questions.html Frank > > Thanks in advance. > > Thanks and Regards, > > Lokesh Agrawal > > DISCLAIMER ========== This e-mail may contain privileged and > confidential information which is the property of Persistent Systems > Ltd. It is intended only for the use of the individual or entity to > which it is addressed. If you are not the intended recipient, you are > not authorized to read, retain, copy, print, distribute or use this > message. If you have received this communication in error, please > notify the sender and delete all copies of this message. Persistent > Systems Ltd. does not accept any liability for virus infected mails.-- > ---------------------------------------------------------------------- > - Check out the new SourceForge.net Marketplace. It's the best place > to buy or sell services for just about anything Open Source. http:// > sourceforge.net/services/buy/index.php________________________________ > _______________ Cruisecontrol-user mailing list Cruisecontrol-user@ > lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ > > cruisecontrol-user ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
|
|
|
Re: Need help Regarding Cruise Control configHi Frank, I am getting this error [cc]Jul-02 10:38:15 net.sourceforge.cruisecontrol.CruiseControlException: if
'localWorkingCopy' is specified then cvsroot and module are not allowed on CVS at
net.sourceforge.cruisecontrol.util.ValidationHelper.fail(ValidationHelper.java:90) at
net.sourceforge.cruisecontrol.util.ValidationHelper.assertFalse(ValidationHelper.java:99) at net.sourceforge.cruisecontrol.sourcecontrols.ConcurrentVersionsSystem.validate(ConcurrentVersionsSystem.java:445) at
net.sourceforge.cruisecontrol.ModificationSet.validate(ModificationSet.java:354) at
net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:110) at
net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:418) at
net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:156) at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:132) at
net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:88) at
net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:80) at
net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:94) at
net.sourceforge.cruisecontrol.Main.createController(Main.java:157) at net.sourceforge.cruisecontrol.Main.start(Main.java:125) at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:244) at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:108) [cc]Jul-02 10:38:15 My config.xml is <project name="unyte"> <bootstrappers> <currentbuildstatusbootstrapper
file="logs/${project.name}/status.txt" /> <cvsbootstrapper
cvsroot=":ext:lokesh@ambaji:/opt/cvs_repos/unyte" file="projects/${project.name}/build.xml"
/> </bootstrappers> <modificationset quietperiod="180"> <cvs
cvsroot=":ext:lokesh@ambaji:/opt/cvs_repos/unyte"
localworkingcopy="projects/${project.name}"/> </modificationset> <schedule interval="600"> <ant
buildfile="projects/${project.name}/build.xml" target="integration.clean"
multiple="5" /> <ant
buildfile="projects/${project.name}/build.xml" target="integration" multiple="1"
/> </schedule> <log> <merge dir="junit"/> </log> <publishers> <currentbuildstatuspublisher file="logs/${project.name}/status.txt" /> <email mailhost="our-mail-host" returnaddress="awick@..." defaultsuffix="@spiderlogic.com"
buildresultsurl="http://localhost:8080/unyte/buildresults"> <always address="buildmasters"
/> <failure address="developers"
/> <map alias="developer1" address="developer1@..."
/> <map alias="developer2" address="developer2@..."
/> <map alias="buildmasters"
address="awick" /> <map alias="developers"
address="awick, localdeveloper, developer1, developer2"
/> </email> </publishers> </project> Can you please help me to remove this error? Thanks and Regards -----Original Message----- > -----Ursprüngliche Nachricht----- > Von: " > Gesendet: 01.07.08 14:10:15 > An: <cruisecontrol-user@...> > Betreff: Re: [Cruisecontrol-user] Need help Regarding Cruise
Control config > Hi Frank, > > But this works when CVS and Cruise Control both are on same
server. In my > case there are 2 server and I have to export code from remote CVS
server. Hello, no, this should work fine. Try to checkout from command line on the CC
box. This should work without password query. Frank > > > > Thanks and Regards, > > > > > -----Original Message----- > From: cruisecontrol-user-bounces@... > [mailto:cruisecontrol-user-bounces@...] On
Behalf Of > Sent: Tuesday, July 01, 2008 5:07 PM > To: cruisecontrol-user@... > Subject: Re: [Cruisecontrol-user] Need help Regarding Cruise
Control config > > > -----Ursprüngliche Nachricht----- > > Von: " > > Gesendet: 01.07.08 13:08:35 > > An: <cruisecontrol-user@...> > > Betreff: [Cruisecontrol-user] Need help Regarding Cruise
Control config > > Priorität: Hoch > > > > Hi All, > > > > I am new to Cruise Control and I want to use it to automate
the build > > process for my application. > > > > I have cruise control installed on one server and I want to
point my > > CVS code (at another server) to it so that Cruise Control can
> > automatic build that (using ant), check for code updates and
can > > generate some reports. > > > > Can anyone help me? I am using Cruise Control on Linux. > > Hello, > > the polite answer lies in > http://cruisecontrol.sourceforge.net/gettingstarted.html > > the not-so polite answer lies in > http://www.catb.org/~esr/faqs/smart-questions.html > > Frank > > > > Thanks in advance. > > > > Thanks and Regards, > > > > > > > > DISCLAIMER ========== This e-mail may contain privileged and > > confidential information which is the property of Persistent
Systems > > Ltd. It is intended only for the use of the individual or
entity to > > which it is addressed. If you are not the intended recipient,
you are > > not authorized to read, retain, copy, print, distribute or
use this > > message. If you have received this communication in error,
please > > notify the sender and delete all copies of this message.
Persistent > > Systems Ltd. does not accept any liability for virus infected
mails.-- > >
---------------------------------------------------------------------- > > - Check out the new SourceForge.net Marketplace. It's the
best place > > to buy or sell services for just about anything Open Source.
http:// > >
sourceforge.net/services/buy/index.php________________________________ > > _______________ Cruisecontrol-user mailing list
Cruisecontrol-user@ > > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ > > > > cruisecontrol-user > > > >
------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information
which is the property of Persistent Systems Ltd. It is intended only for the
use of the individual or entity to which it is addressed. If you are not the
intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in
error, please notify the sender and delete all copies of this message.
Persistent Systems Ltd. does not accept any liability for virus infected mails. > >
------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Need help Regarding Cruise Control configHi Frank, I am getting this error [cc]Jul-02 10:38:15 net.sourceforge.cruisecontrol.CruiseControlException: if 'localWorkingCopy'
is specified then cvsroot and module are not allowed on CVS at
net.sourceforge.cruisecontrol.util.ValidationHelper.fail(ValidationHelper.java:90) at
net.sourceforge.cruisecontrol.util.ValidationHelper.assertFalse(ValidationHelper.java:99) at
net.sourceforge.cruisecontrol.sourcecontrols.ConcurrentVersionsSystem.validate(ConcurrentVersionsSystem.java:445) at
net.sourceforge.cruisecontrol.ModificationSet.validate(ModificationSet.java:354) at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:110) at
net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:418) at
net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:156) at
net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:132) at
net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:88) at net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:80) at
net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:94) at
net.sourceforge.cruisecontrol.Main.createController(Main.java:157) at
net.sourceforge.cruisecontrol.Main.start(Main.java:125) at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:244) at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:108) [cc]Jul-02 10:38:15 My config.xml is <project name="unyte">
<bootstrappers>
<currentbuildstatusbootstrapper
file="logs/${project.name}/status.txt" />
<cvsbootstrapper cvsroot=":ext:lokesh@ambaji:/opt/cvs_repos/unyte"
file="projects/${project.name}/build.xml" /> </bootstrappers> <modificationset
quietperiod="180">
<cvs cvsroot=":ext:lokesh@ambaji:/opt/cvs_repos/unyte"
localworkingcopy="projects/${project.name}"/> </modificationset> <schedule
interval="600">
<ant buildfile="projects/${project.name}/build.xml"
target="integration.clean" multiple="5" />
<ant buildfile="projects/${project.name}/build.xml"
target="integration" multiple="1" /> </schedule> <log>
<merge dir="junit"/> </log> <publishers>
<currentbuildstatuspublisher
file="logs/${project.name}/status.txt" />
<email mailhost="our-mail-host"
returnaddress="awick@..."
defaultsuffix="@spiderlogic.com"
buildresultsurl="http://localhost:8080/unyte/buildresults">
<always address="buildmasters" />
<failure address="developers" />
<map alias="developer1"
address="developer1@..." />
<map alias="developer2"
address="developer2@..." />
<map alias="buildmasters" address="awick" />
<map alias="developers" address="awick,
localdeveloper, developer1, developer2" />
</email> </publishers> </project> Can you please help me to remove this error? Thanks and Regards -----Original Message----- > -----Ursprüngliche Nachricht----- > Von: " > Gesendet: 01.07.08 14:10:15 > An: <cruisecontrol-user@...> > Betreff: Re: [Cruisecontrol-user] Need help Regarding Cruise
Control config > Hi Frank, > > But this works when CVS and Cruise Control both are on same
server. In my > case there are 2 server and I have to export code from remote CVS
server. Hello, no, this should work fine. Try to checkout from command line on the CC
box. This should work without password query. Frank > > > > Thanks and Regards, > > > > > -----Original Message----- > From: cruisecontrol-user-bounces@... > [mailto:cruisecontrol-user-bounces@...] On
Behalf Of > Sent: Tuesday, July 01, 2008 5:07 PM > To: cruisecontrol-user@... > Subject: Re: [Cruisecontrol-user] Need help Regarding Cruise
Control config > > > DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. |