continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emmanuel.veni...@gmail.com>
Subject Re: How to add multiple Goals to the Build Definitions section?
Date Sat, 21 Mar 2009 08:50:27 GMT
For this use case, it is better for now to use a shell script that will
lauch the 2 mvn commands

Emmanuel

On Sat, Mar 21, 2009 at 3:40 AM, L. J. <apache.maillist@gmail.com> wrote:

> According to dashboard plugin doc
> http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
>
> To generate the site and the correct dashboard report, you must run the
> dashboard report plugin i*n 2 passes* :
>
>   1. *mvn site*
>      1. generate the site .
>      2. let each report plugin generate its xml file.
>      3. add the dashboard report item in the left menu.
>   2. *mvn dashboard:dashboard*
>      1. aggregate all results of each report.
>      2. re-generate the dashboard HTML file.
>
>
>
> On Mon, Mar 16, 2009 at 8:17 AM, java javae <java_javae@yahoo.com> wrote:
>
> > I am still having a problem to generate the dashboard reports completely
> by
> > using only one nightly build definition. If I set the goals for the
> nightly
> > build definition to "clean install site dashboard:persist
> > dashboard:dashboard site:deploy" then the dashboard reports won't get
> > generate completely. However, if I make two different build definitions:
> > 1) "clean install site"
> > 2) "dashboard:persist dashboard:dashboard site:deploy"
> > then all the dashboard reports gets generate correctly. But I need to
> > ensure that the 2nd build definition doesn't run if the first build
> > definition fails. Therefore, I need to include all the goals (clean
> install
> > site dashboard:persist dashboard:dashboard site:deploy) in to one nightly
> > build definition.
> >
> > Any suggestion on why I can't include all these goals in one build
> > definition ?
> >
> > Thanks.
> >
> >
> ______________________________________________________________________________________
> >
> > Since all Continuum does is construct a command-line "mvn ..."
> > command, there's no reason for these to be different.  What is the
> > command line that Continuum executed, from the log file?
> >
> > Next I'd capture the build output from the command line (mvn ... >
> > output.txt) and compare it to the output you see in the build results
> > in Continuum.
> >
> > --
> > Wendy
> >
> >
> > ________________________________
> > From: java javae <java_javae@yahoo.com>
> > To: users@continuum.apache.org
> > Sent: Thursday, March 12, 2009 4:19:41 PM
> > Subject: Re: How to add multiple Goals to the Build  Definitions section?
> >
> >
> > Thank you for your reply. No, I don't get any error in the build output.
> > When I run Continuum with the goals "clean install site dashboard:persist
> > dashboard:dashboard site:deploy" the build finishes successfully. Thus,
> > after the successful build the dashboard reports are not generated
> > completely and their data are missing.
> >  However, when I do mvn build with the same goals "clean install site
> > dashboard:persist dashboard:dashboard site:deploy"
> > from the command line in windows I get all the dashboard reports to
> > generate completely.
> >
> >
> >
> >
> > ________________________________
> > From: java javae <java_javae@yahoo.com>
> > To: users@continuum.apache.org
> > Sent: Thursday,  March 12, 2009 2:08:11 PM
> > Subject: How to add multiple Goals to the Build Definitions section?
> >
> >
> > Hi,
> >
> > Can I set the Build Definitions in Continuum to have multiple goals?
> > For example under Add/Edit Build Definition section I have added multiple
> > goals to the Goals section like this:
> >
> > clean install site dashboard:persist dashboard:dashboard site:deploy
> >
> > The reason I ask this is because when this build definition runs in
> > Continuum the dashboard reports won't get generate completely. However,
> when
> > I run each goal separately, then the dashboard reports gets generated
> > correctly. But I really want to run all the goals under one build
> definition
> > since I am running this as my nightly build. Any suggestion on how I can
> set
> > the Goals to "clean install site dashboard:persist dashboard:dashboard
> > site:deploy " for the Build Definition?
> >
> >
> > Thanks.
> >
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message