Hi, Thanks for the help.It is working now :) Regards, Inderpreet On Tuesday, 9 June 2015 17:56:46 UTC+5:30, Karl Heinz Marbaise wrote:
> Hi, > > you have to configure a freestyle job and not a Maven job > type...otherwise you will not get it to run with such extreme old Maven > version... > > Kind regards > Karl Heinz Marbaise > On 6/9/15 1:56 PM, inderpree...@gmail.com <javascript:> wrote: > > I am trying to configure a project using maven version 1.1 in Jenkins > > 1.532.Upon firing the build, i get below error: > > java.lang.RuntimeException: Unable to determine Maven version > > at > > > org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:157) > > > > at > > > org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:110) > > > > at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:923) > > at > > > hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) > > at > > > hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) > > > at > > > hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:600) > > > > at > > > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) > > > at hudson.model.Run.execute(Run.java:1665) > > at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509) > > at hudson.model.ResourceController.execute(ResourceController.java:88) > > at hudson.model.Executor.run(Executor.java:246) > > Caused by: org.kohsuke.stapler.framework.io.IOException2: > > hudson.maven.MavenEmbedderException: Couldn't find maven version > > information in '/path/to/my/directory'. Are you sure that this is a > > valid maven home? > > at > > > org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:47) > > > > at > > > org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) > > > > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > > at hudson.remoting.Request$2.run(Request.java:328) > > at > > > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) > > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > > > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > > > > at java.lang.Thread.run(Thread.java:662) > > Caused by: hudson.maven.MavenEmbedderException: Couldn't find maven > > version information in '/path/to/my/directory'. Are you sure that this > > is a valid maven home? > > at > > > hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:198) > > > at > > > hudson.maven.MavenEmbedderUtils.isAtLeastMavenVersion(MavenEmbedderUtils.java:215) > > > > at > > > org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) > > > > ... 10 more > > project=hudson.maven.MavenModuleSet@212eb3a6[MyProject > > <mailto:project > > <javascript:>=hudson.maven.MavenModuleSet@212eb3a6[MyProject>] > > > project.getModules()=[] > > project.getRootModule()=null > > FATAL: Unable to determine Maven version > > > > I have set Maven_home as well in Jenkins Configure System.Can anyone > > help me ? > > > > -- > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3fa8a493-078b-4654-aa3e-6aa9af9a2a9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.