You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Coast <na...@codeczar.com> on 2003/11/28 05:05:20 UTC
cruisecontrol, CI & maven
Hi,
Is it 'expected' that cruisecontrol will be the defacto mechanism for performing
CI within maven? In other words is it worth investing the time to learn
cruisecontrol?
As a cruisecontrol newbie I'm not sure where the boundaries of cruisecontrol and
maven overlap. What I'm looking for is some way of schedulling cvs checkout,
build, deploy, test, email someone when it goes wrong.
Is there a more recent maven plugin for cruisecontrol? I had a look at the
current plugin and the run method doesn't seem to do much :)
<!--==================================================================-->
<!-- Run Cruise Control -->
<!--==================================================================-->
<goal name="cruisecontrol:run"
description="Run Cruise Control">
<!-- TODO -->
</goal>
cheers
Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cruisecontrol, CI & maven
Posted by Nathan Coast <na...@codeczar.com>.
cool, I'll have a look at damage control too
Henri Yandell wrote:
>
> On Fri, 28 Nov 2003, Nathan Coast wrote:
>
>
>>Hi,
>>
>>Is it 'expected' that cruisecontrol will be the defacto mechanism for performing
>>CI within maven? In other words is it worth investing the time to learn
>>cruisecontrol?
>
>
> Possibly not as 'DamageControl' [http://wiki.codehaus.org/general/DamageControl]
> is new at Codehaus and the developers have also been involved in Maven [I
> think].
>
> Hen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cruisecontrol, CI & maven
Posted by Henri Yandell <ba...@generationjava.com>.
On Fri, 28 Nov 2003, Nathan Coast wrote:
> Hi,
>
> Is it 'expected' that cruisecontrol will be the defacto mechanism for performing
> CI within maven? In other words is it worth investing the time to learn
> cruisecontrol?
Possibly not as 'DamageControl' [http://wiki.codehaus.org/general/DamageControl]
is new at Codehaus and the developers have also been involved in Maven [I
think].
Hen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cruisecontrol, CI & maven
Posted by di...@multitask.com.au.
Looks like you didn't give cruisecontrol the -configfile or -project
options.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Nathan Coast <na...@codeczar.com> wrote on 28/11/2003 06:21:34 PM:
> thanks Dion,
>
> ok, so if i've got it right..... the plugin coordinates maven projects
with
> cruisecontrol. Cruisecontrol config file is built using maven project
> descriptor info for cvs properties etc. then cruisecontrol executes
calling
> maven goals.
>
> I downloaded cruisecontrol, built cruisecontrol, executed the plugin to
create
> the cruisecontrol config then executed cruisecontrol...........
>
> error :( config at the bottom,
>
> any ideas - sorry if this is getting a bit off-topic for a maven list.
>
> [cc]Nov-28 15:11:23 Main - CruiseControl Version 2.1 Compiled
on
> November 28 2003 1508
> [cc]Nov-28 15:11:23 trolController- projectName = [op]
> [cc]Nov-28 15:11:23 trolController- No previously serialized project
found:
> D:\ri\op\op\op\op
> [cc]Nov-28 15:11:23 Project - Project op: reading settings from
config
> file [D:\ri\op\op\op\cruisecontrol.xml]
> [cc]Nov-28 15:11:23 Main - Project descriptor
> D:\ri\op\op\op\checkout\op\project.xml does not exist
> [cc]Nov-28 15:11:23 Main - Usage:
> [cc]Nov-28 15:11:23 Main -
> [cc]Nov-28 15:11:23 Main - Starts a continuous integration loop
> [cc]Nov-28 15:11:23 Main -
> [cc]Nov-28 15:11:23 Main - java CruiseControl [options]
> [cc]Nov-28 15:11:23 Main - where options are:
> [cc]Nov-28 15:11:23 Main -
> [cc]Nov-28 15:11:23 Main - -port number where
number is
> the port of the Controller web site
> [cc]Nov-28 15:11:23 Main - -configfile file where file
is the
> configuration file
>
>
>
>
> <cruisecontrol>
> <project name="op">
> <bootstrappers>
> <currentbuildstatusbootstrapper
> file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> </currentbuildstatusbootstrapper>
> </bootstrappers>
> <modificationset>
> <cvs localWorkingCopy="D:\ri\op\op\op/checkout/op"
> cvsroot=":pserver:nathan@pocbeawl:/OnePort/data/cvsroot">
> </cvs>
> </modificationset>
> <schedule interval="300">
> <maven goal="scm:update|clean test|site:deploy"
> projectfile="D:\ri\op\op\op/checkout/op/project.xml"
> mavenscript="D:\java\apache\maven/bin/maven">
> </maven>
> </schedule>
> <publishers>
> <currentbuildstatuspublisher
> file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> </currentbuildstatuspublisher>
> <htmlemail logdir="D:\ri\op\op\op/target/cc-logs/op"
mailhost="localhost"
> css="../cc/reporting/jsp/css/cruisecontrol.css" subjectprefix="[BUILD]"
> returnaddress="nathan.coast@oneport.com" defaultsuffix="@oneport.com"
> xsldir="../cc/reporting/jsp/xsl">
> <failure address="nathan.coast@oneport.com">
> </failure>
> </htmlemail>
> </publishers>
> </project>
> </cruisecontrol>
>
>
>
>
>
>
>
>
> D:\ri\op\op\op>
>
>
>
> dion@multitask.com.au wrote:
>
> > Nathan Coast <na...@codeczar.com> wrote on 28/11/2003 03:05:20 PM:
> >
> >
> >>Hi,
> >>
> >>Is it 'expected' that cruisecontrol will be the defacto mechanism for
> >
> > performing
> >
> >>CI within maven? In other words is it worth investing the time to
learn
> >
> >
> >>cruisecontrol?
> >
> >
> > I don't know if it's worth *your* time, but it was up and going
quickly
> > for me.
> >
> >
> >>As a cruisecontrol newbie I'm not sure where the boundaries of
> >
> > cruisecontrol and
> >
> >>maven overlap. What I'm looking for is some way of schedulling cvs
> >
> > checkout,
> >
> >>build, deploy, test, email someone when it goes wrong.
> >
> >
> > It does that easily.
> >
> >
> >>Is there a more recent maven plugin for cruisecontrol? I had a look
at
> >
> > the
> >
> >>current plugin and the run method doesn't seem to do much :)
> >
> > Who needs the run method?
> >
> > I used the plugin to generate the config file and run CC by batch file
on
> > our CI/testing box.
> >
> > I had to tweak the CC plugin a bit as some of the property defaults
make
> > no sense.
> >
> > --
> > dIon Gillard, Multitask Consulting
> > Blog: http://blogs.codehaus.org/people/dion/
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> > .
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cruisecontrol, CI & maven
Posted by Nathan Coast <na...@codeczar.com>.
thanks Dion,
ok, so if i've got it right..... the plugin coordinates maven projects with
cruisecontrol. Cruisecontrol config file is built using maven project
descriptor info for cvs properties etc. then cruisecontrol executes calling
maven goals.
I downloaded cruisecontrol, built cruisecontrol, executed the plugin to create
the cruisecontrol config then executed cruisecontrol...........
error :( config at the bottom,
any ideas - sorry if this is getting a bit off-topic for a maven list.
[cc]Nov-28 15:11:23 Main - CruiseControl Version 2.1 Compiled on
November 28 2003 1508
[cc]Nov-28 15:11:23 trolController- projectName = [op]
[cc]Nov-28 15:11:23 trolController- No previously serialized project found:
D:\ri\op\op\op\op
[cc]Nov-28 15:11:23 Project - Project op: reading settings from config
file [D:\ri\op\op\op\cruisecontrol.xml]
[cc]Nov-28 15:11:23 Main - Project descriptor
D:\ri\op\op\op\checkout\op\project.xml does not exist
[cc]Nov-28 15:11:23 Main - Usage:
[cc]Nov-28 15:11:23 Main -
[cc]Nov-28 15:11:23 Main - Starts a continuous integration loop
[cc]Nov-28 15:11:23 Main -
[cc]Nov-28 15:11:23 Main - java CruiseControl [options]
[cc]Nov-28 15:11:23 Main - where options are:
[cc]Nov-28 15:11:23 Main -
[cc]Nov-28 15:11:23 Main - -port number where number is
the port of the Controller web site
[cc]Nov-28 15:11:23 Main - -configfile file where file is the
configuration file
<cruisecontrol>
<project name="op">
<bootstrappers>
<currentbuildstatusbootstrapper
file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
</currentbuildstatusbootstrapper>
</bootstrappers>
<modificationset>
<cvs localWorkingCopy="D:\ri\op\op\op/checkout/op"
cvsroot=":pserver:nathan@pocbeawl:/OnePort/data/cvsroot">
</cvs>
</modificationset>
<schedule interval="300">
<maven goal="scm:update|clean test|site:deploy"
projectfile="D:\ri\op\op\op/checkout/op/project.xml"
mavenscript="D:\java\apache\maven/bin/maven">
</maven>
</schedule>
<publishers>
<currentbuildstatuspublisher
file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
</currentbuildstatuspublisher>
<htmlemail logdir="D:\ri\op\op\op/target/cc-logs/op" mailhost="localhost"
css="../cc/reporting/jsp/css/cruisecontrol.css" subjectprefix="[BUILD]"
returnaddress="nathan.coast@oneport.com" defaultsuffix="@oneport.com"
xsldir="../cc/reporting/jsp/xsl">
<failure address="nathan.coast@oneport.com">
</failure>
</htmlemail>
</publishers>
</project>
</cruisecontrol>
D:\ri\op\op\op>
dion@multitask.com.au wrote:
> Nathan Coast <na...@codeczar.com> wrote on 28/11/2003 03:05:20 PM:
>
>
>>Hi,
>>
>>Is it 'expected' that cruisecontrol will be the defacto mechanism for
>
> performing
>
>>CI within maven? In other words is it worth investing the time to learn
>
>
>>cruisecontrol?
>
>
> I don't know if it's worth *your* time, but it was up and going quickly
> for me.
>
>
>>As a cruisecontrol newbie I'm not sure where the boundaries of
>
> cruisecontrol and
>
>>maven overlap. What I'm looking for is some way of schedulling cvs
>
> checkout,
>
>>build, deploy, test, email someone when it goes wrong.
>
>
> It does that easily.
>
>
>>Is there a more recent maven plugin for cruisecontrol? I had a look at
>
> the
>
>>current plugin and the run method doesn't seem to do much :)
>
> Who needs the run method?
>
> I used the plugin to generate the config file and run CC by batch file on
> our CI/testing box.
>
> I had to tweak the CC plugin a bit as some of the property defaults make
> no sense.
>
> --
> dIon Gillard, Multitask Consulting
> Blog: http://blogs.codehaus.org/people/dion/
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cruisecontrol, CI & maven
Posted by di...@multitask.com.au.
Nathan Coast <na...@codeczar.com> wrote on 28/11/2003 03:05:20 PM:
> Hi,
>
> Is it 'expected' that cruisecontrol will be the defacto mechanism for
performing
> CI within maven? In other words is it worth investing the time to learn
> cruisecontrol?
I don't know if it's worth *your* time, but it was up and going quickly
for me.
> As a cruisecontrol newbie I'm not sure where the boundaries of
cruisecontrol and
> maven overlap. What I'm looking for is some way of schedulling cvs
checkout,
> build, deploy, test, email someone when it goes wrong.
It does that easily.
> Is there a more recent maven plugin for cruisecontrol? I had a look at
the
> current plugin and the run method doesn't seem to do much :)
Who needs the run method?
I used the plugin to generate the config file and run CC by batch file on
our CI/testing box.
I had to tweak the CC plugin a bit as some of the property defaults make
no sense.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org