I used the tool whose version is least significant in most of my jobs as example, but as you're facing the exact same situation with Ant, it applies as well.
That's basically the use case: You install Ant system-wide (e.g. from your Linux distro's repository), it's put into your PATH (possibly automatically), and that'll get used by Jenkins as the default version. No matter what node you build on, it uses the system-wide default Ant installation. If you still want Jenkins to install it, but still don't care about the version, just define an installation, call it 'Any Ant', and select _any_ of the auto-installer choices, configure your jobs to use it, and be done with it. Or redefine PATH (or even just ANT_HOME?) on the node level. On 22.10.2013, at 12:24, [email protected] wrote: > Are you sure you are talking about ANT? It sounds like you talk about JDK. > > Am Freitag, 18. Oktober 2013 18:55:22 UTC+2 schrieb Daniel Beck: > The 'default' tool version uses whatever is the preferred version on the > node's PATH. In this case, there is none. > > This can be useful when you don't care about the Java version used in a job, > and have the executing node use its default installation without having to > configure the path for every node, or an auto-installer. > > On 18.10.2013, at 10:56, [email protected] wrote: > > > I have installed Jenkins 1.514 and told it to automatically provide solely > > ANT 1.9.2 from Apache. So there is only ANT 1.9.2 on Master and no other > > ANT installation. > > Then I created a project with the "Run Ant" build task and explicitly > > specified to use "ANT 1.9.2" in the "ANT version" configuration line. > > The project builds very well. > > > > Then I removed "ANT 1.9.2" and replaced it by "Standard". > > The project does not build now. It says I have to configure the ANT version > > in the job config. > > > > This is weird. What is "Standard" good for, if it neither automatically > > chooses the sole ANT installation found on Master, nor allows me to > > configure "ANT 1.9.2" to be "Standard"? > > > > Thanks! > > -Markus > > > > > > -- > > 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. > > > -- > 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. -- 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.
