Assuming maven was already installed in the node & have the files
configured (settings.xml, local repo etc) from the TOOLS setting of
jenkins..
Will this plugin override those settings?
withMaven(mavenInstallation: 'M3', mavenLocalRepo: '.repository',
mavenSettingsConfig: 'maven-settings-for-gameoflife') {
// Run the maven build sh "mvn clean install"
}
And is there any plan for the maven release plugin in pipeline? At the
moment i am using the 'bat' to call the goals for release:prepare and
release:perform
Thanks
On Thu, Aug 11, 2016 at 11:33 AM, Álvaro Lobato <[email protected]>
wrote:
>
> Hello everyone,
>
> I'd like to introduce you to the new Pipeline Maven
> <https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Maven+Plugin> plugin .
> The intention of this plugin is to help using maven from pipeline, setting
> up a maven environment by using a withMaven step. This environment can
> later be called with sh or bat step.
>
> The supported configuration parameters are:
>
> - Maven Installation
> - JDK
> - Maven Settings Config (Config File Provider Plugin)
> - Maven Settings File Path
> - Maven JVM Opts
> - Maven Local Repository
>
> The step can be used used directly on a node or in a docker.inside.
>
> Currently it is in an early stage of development and I've just released
> the first beta version, already available in the update center.
>
> This is the start point for a more feature rich integration between
> pipeline and maven.
>
> You can find more information on the wiki page: Pipeline Maven plugin
> <https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Maven+Plugin>
>
> Thanks
> Alvaro.
>
> --
> 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/81089a41-3bdf-47a4-bdad-b4424d27341b%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/81089a41-3bdf-47a4-bdad-b4424d27341b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Regards
nirish okram
--
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/CAPzcO4g0yPF0rBYm89cY3N7gKvw3EYQwGX6W_%3D9K9bDBoBhcJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.