Not exactly version, but Jenkins has a thing called ToolInstallers [1] that is used for users to select what tool (and version) to install. There is one of those implemented for Maven, the first usage example that came to mind is in the withMaven step [2], but htere might be easier examples to refer to.
/B [1] http://javadoc.jenkins.io/hudson/tools/ToolInstallation.html [2] https://github.com/jenkinsci/pipeline-maven-plugin/blob/master/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStep.java#L216 2017-10-04 15:13 GMT+02:00 phanikumar <[email protected]>: > Hello team, > > I have developed a plugin for Google App Engine Deployment. I would like to > customize it furthermore by providing the users to select the maven version > for compilation and deployment. Is there a way by which I can provide the > users to select specific maven version. > > > > > -- > Sent from: http://jenkins-ci.361315.n4.nabble.com/Jenkins-dev-f387835.html > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" 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-dev/1507122823703-0.post%40n4.nabble.com. > For more options, visit https://groups.google.com/d/optout. > -- Robert Sandell *Software Engineer* *CloudBees Inc.* -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/CALzHZS1Wz2ZnAN8BmJoyS5Ky6goPTvuPYupqneqn_7uOF_VuZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
