In my particular case, the ANT script to run is so ridiculously simple that it won't fail ever. It consists only of a single <exec>. So I'd be happy if I could just tell Jenkins that it shall just pick any ANT to do the job.
Am Montag, 21. Oktober 2013 11:39:52 UTC+2 schrieb Andreas Schilling: > > Hi Markus, > > while I understand your point of view (thought the same some time ago) I > nowadays highly recommend to use explicit tool versions for everything. My > experience is that it is alot easier to track down build problems if > explicit versions are used everywhere. It may be a hassle to manage alot of > jobs if you e.g. want to switch to a later version of tool X, however > groovy scripts are your friend here... > > Mit freundlichen Grüßen / kind regards > i.A. Andreas Schilling > Enterprise Processes & Software > ------------------------------------------------------------------- > Dipl. Inf. Andreas Schilling > Senior Software Architect > > TWT GmbH > Science & Innovation > Ernsthaldenstraße 17 > D-70565 Stuttgart > > Tel: +49.7 11.21 57 77.6 73 > Mobil: +49.1 72.6 22 88 70 > E-Mail: [email protected] <javascript:> > -------------------------------------------------------------------- > www.twt-gmbh.de > -------------------------------------------------------------------- > Geschäftsführung: Dr. Dimitrios Vartziotis, Joachim Laicher (Stv.), Frank > Beutenmüller (Stv.) > Registergericht: Amtsgericht Stuttgart, HRB Nr. 212778 > Umsatzsteuer: ID-Nr.: DE147841145 > -------------------------------------------------------------------- > > > > Von: [email protected] <javascript:> > An: [email protected] <javascript:> > Datum: 18.10.2013 10:56 > Betreff: Jenkins 1.514 successfully uses explicitly told ANT > version to build, but fails to find ANT when asking to use "Standard". > Gesendet von: [email protected] <javascript:> > ------------------------------ > > > > 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] <javascript:>. > For more options, visit > *https://groups.google.com/groups/opt_out*<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.
