What're the values in Manage Jenkins > Maven Installations? Assuming it's the default, it could be a class path issue depending on the shell used to start the OS X slave. What happens if you explicitly set the MAVEN_HOME value to it's absolutely path (ex: /usr/local/apache-maven/apache-maven-3.2.3) ?
On Tuesday, 21 July 2015 05:21:37 UTC-7, Anthony Green wrote: > > I''m running a Jenkins Ubuntu Master with an OS X Slave > > I can't get a build step "Invoking top-level Maven targets" to run on a > slave. > > I get a > > FATAL: command execution failed > > java.io.IOException > <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Cannot > run program "mvn" > > I've tried setting environment variables and that works for a shell script > build step but not a Maven build step. > I've tried setting Tool Locations on the slave to point at the slave's Maven > installation and that doesn't work. > > How is this supposed to be accomplished? > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ff2d3e62-45ce-49bd-839b-1d3075c04797%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
