Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 5105 invoked from network); 6 Aug 2007 21:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2007 21:21:27 -0000 Received: (qmail 55182 invoked by uid 500); 6 Aug 2007 21:21:25 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 55158 invoked by uid 500); 6 Aug 2007 21:21:25 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 55147 invoked by uid 99); 6 Aug 2007 21:21:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 14:21:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.137.181.86] (HELO sh-evy01mgw4.accor-hotels.com) (195.137.181.86) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 21:21:17 +0000 Received: from s-eu-evy01mx3.eu.accor.net (unverified) by sh-evy01mgw4.accor-hotels.com (Content Technologies SMTPRS 4.3.14) with ESMTP id for ; Mon, 6 Aug 2007 23:20:55 +0200 Received: from sheu-evy01mxcl1.eu.htl.accor.net ([57.200.0.152]) by s-eu-evy01mx3.eu.accor.net with Microsoft SMTPSVC(6.0.3790.1830); Mon, 6 Aug 2007 23:20:55 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: shell execution from 1.1-beta-1 Date: Mon, 6 Aug 2007 23:20:54 +0200 Message-ID: In-Reply-To: <61ebb7260708061411s3ef880cq9618a45e59acaa3a@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: shell execution from 1.1-beta-1 Thread-Index: AcfYbmOrETJUCo67RHmyAU7kNqieLQAAMurw From: "LAMY Olivier" To: X-OriginalArrivalTime: 06 Aug 2007 21:20:55.0894 (UTC) FILETIME=[AD027F60:01C7D86F] X-Virus-Checked: Checked by ClamAV on apache.org Ok. There is an issue in plexus-utils concerning this trouble. http://jira.codehaus.org/browse/PLXUTILS-34=20 Need to be fixed (but I don't have AIX here to test ;-) ) -- Olivier=20 -----Message d'origine----- De : L. J. [mailto:apache.maillist@gmail.com]=20 Envoy=E9 : lundi 6 ao=FBt 2007 23:11 =C0 : continuum-users@maven.apache.org Objet : Re: shell execution from 1.1-beta-1 Yes, AIX. Thanks. LJ On 8/6/07, LAMY Olivier wrote: > > Hi, > What is your ? AIX ? > > -- > Olivier > > -----Message d'origine----- > De : L. J. [mailto:apache.maillist@gmail.com] > Envoy=E9 : lundi 6 ao=FBt 2007 22:11 > =C0 : continuum-users > Objet : shell execution from 1.1-beta-1 > > I have a build definition: > Build File /usr/bin/sh > Arguments buildAdmin.sh" > > It works in alpha and earlier version of continuum. Is the way that=20 > the shell script gets executed changed since beta? I got the following = > error, and wonder why continuum is calling /bin/bash at the very=20 > beginning > > 1705563 [pool-1-thread-1] INFO > org.apache.maven.continuum.utils.shell.ShellCommandHelper:default - > Executing: /bin/bash -c "cd > /apps/build/continuum-1.1-beta-1 > /apps/continuum/webapp/WEB-INF/working-directory/2 > && /usr/bin/sh buildAdmin.sh" > 1705563 [pool-1-thread-1] INFO > org.apache.maven.continuum.utils.shell.ShellCommandHelper:default -=20 > Working > directory: /apps/build/continuum-1.1-beta-1 > /apps/continuum/webapp/WEB-INF/working-directory/2 > 1706375 [pool-1-thread-1] ERROR > org.codehaus.plexus.action.Action:execute-builder - Error running=20 > buildResult > org.apache.maven.continuum.execution.ContinuumBuildExecutorException: > Error while executing shell command. The most common error is that=20 > '/usr/bin/sh' > is not in your path. > at > > org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShel > lCommand > (AbstractBuildExecutor.java:218) > at > org.apache.maven.continuum.execution.shell.ShellBuildExecutor.build( > ShellBuildExecutor.java:74) > at > > org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.e > xecute > (ExecuteBuilderContinuumAction.java:140) > at > > org.apache.maven.continuum.buildcontroller.DefaultBuildController.perf > ormAction > (DefaultBuildController.java:406) > at > org.apache.maven.continuum.buildcontroller.DefaultBuildController.buil > d( > DefaultBuildController.java:145) > at > > org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.ex > ecuteTask > (BuildProjectTaskExecutor.java:50) > at > > org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exec > utorRunnable$1.run > (ThreadedTaskQueueExecutor.java:116) > at > > edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapt > er.call > (Executors.java:442) > at=20 > edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run( > FutureTask.java:176) > at > > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work > er.runTask > (ThreadPoolExecutor.java:665) > at > > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work > er.run > (ThreadPoolExecutor.java:690) > at java.lang.Thread.run(Thread.java:801) > Caused by: > org.codehaus.plexus.util.cli.CommandLineException: Error while=20 > executing process. > at org.codehaus.plexus.util.cli.Commandline.execute( > Commandline.java > :652) > at > org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine( > CommandLineUtils.java:102) > at > org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine( > CommandLineUtils.java:89) > at > > org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execu > teShellCommand > (DefaultShellCommandHelper.java:114) > at > > org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execu > teShellCommand > (DefaultShellCommandHelper.java:59) > at > > org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShel > lCommand > (AbstractBuildExecutor.java:202) > ... 11 more > Caused by: > java.io.IOException: /bin/bash: not found > at java.lang.UNIXProcess.fullPath(UNIXProcess.java:365) > at java.lang.UNIXProcess.(UNIXProcess.java:172) > at java.lang.ProcessImpl.start(ProcessImpl.java:114) > at java.lang.ProcessBuilder.start(ProcessBuilder.java:466) > at java.lang.Runtime.exec(Runtime.java:607) > at org.codehaus.plexus.util.cli.Commandline.execute( > Commandline.java > :647) > ... 16 more > 1706710 [pool-1-thread-1] INFO > org.apache.maven.continuum.buildcontroller.BuildController:default -=20 > Performing action deploy-artifac > > Thanks. > > LJ > > > This e-mail, any attachments and the information contained therein=20 > ("this > message") are confidential and intended solely for the use of the=20 > addressee(s). If you have received this message in error please send=20 > it back to the sender and delete it. Unauthorized publication, use,=20 > dissemination or disclosure of this message, either in whole or in=20 > part is strictly prohibited. > > ---------------------------------------------------------------------- > ---------------------------------------- > Ce message =E9lectronique et tous les fichiers joints ainsi que les=20 > informations contenues dans ce message ( ci apr=E8s "le message" ), = sont=20 > confidentiels et destin=E9s exclusivement =E0 l'usage de la personne = =E0=20 > laquelle ils sont adress=E9s. Si vous avez re=E7u ce message par = erreur,=20 > merci de le renvoyer =E0 son =E9metteur et de le d=E9truire. Toutes=20 > diffusion, publication, totale ou partielle ou divulgation sous=20 > quelque forme que se soit non express=E9ment autoris=E9es de ce = message, sont interdites. > > ---------------------------------------------------------------------- > --------------------------------------- > >