| Summary: | please configure Maven in the eTrice HIPP | ||
|---|---|---|---|
| Product: | Community | Reporter: | Henrik Rentz-Reichert <hrr> |
| Component: | CI-Jenkins | Assignee: | CI Admin Inbox <ci.admin-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | thanh.ha, webmaster |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Henrik Rentz-Reichert
The Maven plugin is installed, and it's an option when creating a new job. Is there something I'm missing? -M. When I configure my build I see in the line with "Maven-Version" a hint that Hudson has to know the Maven installation directory. Please enter it in the system configuration https://hudson.eclipse.org/etrice/configure Ok, I've added some config details for the Maven2 plugin. -M. Now I get this error: (see https://hudson.eclipse.org/etrice/job/etrice-maven/1/console) [org.eclipse.etrice.parent] $ java -cp /home/hudson/genie.modeling.mdt.etrice/.hudson/plugins/maven-plugin/WEB-INF/lib/maven3-agent-2.2.1.jar:/shared/common/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /shared/common/apache-maven-3.0.5 /home/hudson/genie.modeling.mdt.etrice/.hudson/war/webapp/WEB-INF/lib/hudson-remoting-3.0.0.jar /home/hudson/genie.modeling.mdt.etrice/.hudson/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-2.2.1.jar 57281 ERROR: Failed to parse POMs java.io.IOException: Cannot run program "java" (in directory "/home/hudson/genie.modeling.mdt.etrice/.hudson/jobs/etrice-maven/workspace/etrice_local_repo/releng/org.eclipse.etrice.parent"): error=13, Permission denied at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) at hudson.Proc$LocalProc.<init>(Proc.java:187) at hudson.Proc$LocalProc.<init>(Proc.java:157) at hudson.Launcher$LocalLauncher.launch(Launcher.java:649) at hudson.Launcher$ProcStarter.start(Launcher.java:266) at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:210) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:588) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:434) at hudson.model.Run.run(Run.java:1390) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:414) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run(Executor.java:137) Caused by: java.io.IOException: error=13, Permission denied at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:135) at java.lang.ProcessImpl.start(ProcessImpl.java:130) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ... 12 more you need to explicitly pick a java version. HIPP does not define a default java. this is so projects can make sure they are building on the version they think they are building on. the setting for java version is under the permissions matrix in the job config. Thanks, now it works. |