Hi,
I have deployed continuum on UNIX server. I am able to add group and project by uploading pom.xml. When I try to build the project it throws following exception: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while executing shell command. The most common error is that 'mvn' is not in your path. at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellC ommand(AbstractBuildExecutor.java:219) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.buil d(MavenTwoBuildExecutor.java:148) at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.exe cute(ExecuteBuilderContinuumAction.java:140) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.perfor mAction(DefaultBuildController.java:410) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:149) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable$1.run(ThreadedTaskQueueExecutor.java:116) at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter .call(Executors.java:442) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask .java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWor ker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker .run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:595) Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process. at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:652) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Command LineUtils.java:102) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Command LineUtils.java:89) at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execute ShellCommand(DefaultShellCommandHelper.java:114) at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execute ShellCommand(DefaultShellCommandHelper.java:59) at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellC ommand(AbstractBuildExecutor.java:203) ... 11 more Caused by: java.io.IOException: /bin/bash: not found at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at java.lang.Runtime.exec(Runtime.java:591) at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:647) ... 16 more It seems that it is looking for bash and bash is not available on this server. Is there any way to configure Continuum not to use bash for CVS or any other command? Thanks, Amarjeet DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------
