We configure our Maven installations in Jenkins using the system-wide Jenkins installer. (Manage Jenkins -> Configuration -> Maven). This works well when building Maven projects. We have two Maven installations which are used on our slaves.
We need to script some Maven build steps in some Jenkins builds. Specifically we are executing Maven from Gradle, but we could consider a shell script. How can we execute 'mvn' using a Jenkins Maven installation? A simple example is to create a build, make one step "Execute shell" and add one line "mvn --version". -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
