In freestyle jobs installers to use are set for each build step. Thus if in a job you launch a maven build step with Maven 3.2.5 and another one with Maven 3.3.3 it will install them when required
Arnaud > On 09 Oct 2015, at 13:54, Shane Turner <[email protected]> wrote: > > Hello, > > I've configured Jenkins to auto-install Maven, and am successfully using it > in a Maven job. Great. I also want to use that same installation of Maven > from a Freestyle job, but the environment doesn't have any information in it > about the auto-installed tools. I tried to find a way to query Jenkins about > the tools that it has auto-installed, on the assumption that it must be > available somehow, but I haven't been able to find a way yet. Does anyone > know a way to do it using Groovy, or some other method? > > Sincerely, > Shane Turner > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > This e-mail is intended only for the named recipient(s) and may contain > information that is otherwise privileged, confidential and/or exempt from > disclosure under applicable law. No waiver of privilege, confidence, or > otherwise is intended by virtue of communication via the internet. Any > unauthorized use, dissemination or copying is strictly prohibited. If you > have received this e-mail in error, or are not the named as a recipient, > please immediately notify the sender and destroy all copies of this e-mail. > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/SN1PR0701MB193611B69716E751E93D40F1E3340%40SN1PR0701MB1936.namprd07.prod.outlook.com > > <https://groups.google.com/d/msgid/jenkinsci-users/SN1PR0701MB193611B69716E751E93D40F1E3340%40SN1PR0701MB1936.namprd07.prod.outlook.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/25EEA18E-1EC5-4C45-9DAD-D605E3123B6C%40gmail.com. For more options, visit https://groups.google.com/d/optout.
