infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <>
Subject [jira] [Commented] (INFRA-13632) Define universal variables for Java, Ant etc
Date Sun, 26 Mar 2017 07:14:42 GMT


Gavin commented on INFRA-13632:


Please see:- 


tl’dr it is perfectly possible to use the same jdk|maven|ant latest links for both Windows
and Ubuntu.

Overriding tool location variables on the Windows machines have made this possible.

recap: using a Jenkinsfile or tool locations or drop down lists all are possible for using

the same (latest) link for Windows and Ubuntu.

I’ll add this information to our wiki Infra space docs.

> Define universal variables for Java, Ant etc
> --------------------------------------------
>                 Key: INFRA-13632
>                 URL:
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Sebb
>            Assignee: Gavin
>         Attachments: drop_down_item_name_creates_tool_location_name.png
> The Jenkins instances have lots of 'Tool environment' variables which hold the locations
of the JDK, Ant etc.
> However these all appear to be specific to the host type, so are no use for defining
jobs that may run on (say) both Ubuntu and Windows.
> Where the same version of JDK, Ant etc exist on multiple hosts there should be a fixed
variable name with the relevant value for each host type.
> Whereas at present there are for example:
> ANT_1_8_4_HOME
> I would expect ANT_1_8_4_HOME to point to Ant 1.8.4 on every node where it is installed.
> Similarly for other tools. Otherwise there does not seem a lot of point in them; one
might as well use the Wiki pages that list the installation paths.

This message was sent by Atlassian JIRA

View raw message