continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@gmail.com>
Subject Re: [m2] continuum dashboard integration?
Date Thu, 24 Jan 2008 23:30:43 GMT
Ok, I had fixed this by adding mvn BIN to my path:

*rc-sun66e.ut.dentegra.lab:/home/dapadmin$ echo $PATH
/usr/bin:/usr/ucb:/etc:/usr/local/bin:.:/usr/jdk/jdk1.5.0_06/bin:/opt/maven/bin:/opt/oracle/oas/ant/bin
*

Then this started working.
Then I added another build definition, and not I start getting this error
again:

*2008-01-24 14:05:15,182 [pool-1-thread-1] WARN
org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  - Could
not find the executable 'mvn' in this path:*

It looks like continuum is loosing the $PATH information as there is no path
appended to the error. And now my notifier is not sending emails out:

*2008-01-24 14:23:53,424 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Same state, not
sending message.
2008-01-24 14:23:53,454 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Same state, not
sending message.
*






On Jan 22, 2008 2:31 AM, <Manuel.Renz@t-systems.com> wrote:

> Hi,
> 2008-01-21 12:03:17,856 [pool-1-thread-1] WARN
> org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
> Could not find the executable 'mvn' in this path:
>
> I think that says enough.
> Check if the mvn is in the path. It could be that continuum runs as a
> different user with different env variables, at least under win32 this needs
> to be taken under consideration.
>
> Greetings
> Manuel
>
>
> -----Urspr√ľngliche Nachricht-----
> Von: Mick Knutson [mailto:mickknutson@gmail.com]
> Gesendet: Montag, 21. Januar 2008 21:40
> An: continuum-users@maven.apache.org
> Betreff: Re: [m2] continuum dashboard integration?
>
> Ok, I tried to add site:site build definition just under my install build
> definition. Then at noon my build is suppose to kick off and here are mo
> logs:
>
> *2008-01-21 12:03:14,436 [pool-1-thread-1] INFO
> org.apache.maven.continuum.scm.ContinuumScm:default  - Updated 185 files.
> 2008-01-21 12:03:14,558 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Merging SCM results
> 2008-01-21 12:03:14,886 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> AlwaysBuild configured, building
> 2008-01-21 12:03:14,886 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action update-project-from-working-directory
> 2008-01-21 12:03:14,932 [pool-1-thread-1] INFO
> org.codehaus.plexus.action.Action:update-project-from-working-directory  -
> Updating project 'Delta Dental ESP DAP Master Project Object Model (POM)'
> from checkout.
> 2008-01-21 12:03:17,589 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action execute-builder
> 2008-01-21 12:03:17,856 [pool-1-thread-1] WARN
> org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
> Could not find the executable 'mvn' in this path:
> 2008-01-21 12:03:18,142 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> Executing: /bin/sh -c 'cd /home/dapadmin/continuum/working-directory/6 &&
> mvn -P documentation -e -Dbuild.type=documentation -
> Dcontinuum.project.lastBuild.state=2 -
> Dcontinuum.project.nextBuild.number=2"-
> Dcontinuum.project.group.name=Delta Dental ESP DAP Master Project Object
> Model (POM)" -Dcontinuum.project.lastBuild.number=1 site:site'
> 2008-01-21 12:03:18,145 [pool-1-thread-1] INFO
> org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
> Working
> directory: /home/dapadmin/continuum/working-directory/6
> 2008-01-21 12:30:00,025 [pool-2-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository-scanning - Executing
task from queue with job name: repository-job:snapshots
> 2008-01-21 12:30:00,060 [pool-2-thread-1] INFO
> org.apache.maven.archiva.repository.scanner.RepositoryScanner:default  -
> Walk Started: [snapshots] /home/dapadmin/archiva/data/repositories/snapshots
> 2008-01-21 12:30:00,061 [pool-2-thread-1] INFO
> org.apache.maven.archiva.repository.scanner.RepositoryScanner:default  -
> Walk Finished: [snapshots]
> /home/dapadmin/archiva/data/repositories/snapshots
> 2008-01-21 12:30:00,061 [pool-2-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository-scanning - Finished repository
task:
> .\ Scan of snapshots \.__________________________________________
>
>
>
>
> 1. I have no idea why it is complaining about mvn executable. It runs it
> just fine it seems.
>
> 2. Notice that it skipped my install build definition and goes straight to
> sit:site build definition. Then stops for another hour. :-(
>
> *
>
> On Jan 20, 2008 3:59 PM, Wendy Smoak <wsmoak@gmail.com> wrote:
>
> > On Jan 20, 2008 2:47 PM, Mick Knutson <mickknutson@gmail.com> wrote:
> >
> > > My basic issue is that my continuum does not seem to run more than
> > > the
> > 1st
> > > goal for a project as setup in the "Project Information Tab", "Build
> > > Definitions" section" of continuum.
> >
> > The terms 'goal' and 'build definition' are not interchangeable.  A
> > build definition can have one or more goals defined.
> >
> > I think you're saying that only the first of your three build
> > definitions runs, meaning the entire thing (all three goals/phases you
> > have defined in it) happen, and then nothing else.
> >
> > What is in the log file at this time?  There should be a reason for
> > "nothing happens" for the second and third definition.  You might see
> > something like "No changes, not building".
> >
> > I thought the determination of "have any changes happened" was done
> > per build definition, but maybe it's per project (or broken.)
> >
> > What happens if you check the 'Always Build' checkbox on all three
> > build definitions?
> >
> > --
> > Wendy
> >
>
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>



-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

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