Hi,

 Can you try with EnvInject-Plugin plus Shell step/Batch step in your 
freestyle projects?

Cheers

On Friday, 18 November 2016 20:47:11 UTC, M. Richey wrote:
>
> Hello everybody, 
>
> we are on our way on to Maven 3. Therefore we once would like to use 
> Maven 2 for our build and Maven 3 the next time. Unfortunately there is 
> no option in the Parameterized Trigger Plugin where to define which 
> Maven version to use. Trying to set the path to either Maven 2 or Maven 
> 3 in the PATH environment variable by the EnvInject-Plugin does not work 
> either. It seems that the PATH variable does not get evaluated during 
> the Maven build step in our freestyle projects. 
>
> Does anyone have an idea on how to switch the Maven runtime at build 
> execution time? 
>
> Thanks in advance, 
>
> Maik 
>
>

-- 
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/4153204e-6461-40ef-ad30-a4d75821d4a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to