-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Ubuntu 10.04 64bit, Tomcat6, Sun Java 6
Hudson is configured to use a JDK installation (Sun Java 6) and a Maven installation (2.2.1). I have seen these under the $HUDSON_HOME/tools directories. I have a release project that uses the Hudson maven release plugin. However the build fails as follows:
[HUDSON] Archiving /opt/hudson_home/jobs/myproj (release)/workspace/pom.xml to /opt/hudson_home/jobs/myproj (release)/modules/com.mycorp$myproj/builds/2010-11-12_23-54-29/archive/com.mycorp/myproj/1.0.11-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to invoke Maven build.
Maven executable not found at: /opt/hudson_home/jobs/myproj (release)/workspace/bin/mvn
For sure "/opt/hudson_home/jobs/myproj (release)/workspace/bin/mvn" is the wrong path. The correct path would be "/opt/hudson_home/tools/Maven_2.2.1/bin/mvn".
Perhaps I have something mis-configured. Or is there a work-around?
I tried upgrading from 0.6.1 to 0.7.0 but I get the same result.
- depends on
-
JENKINS-7886 Use the JDK configured for the job
- Resolved
- is related to
-
JENKINS-7886 Use the JDK configured for the job
- Resolved
-
JENKINS-11592 NPE: Failed to record SCM polling
- Resolved