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 Fri, 10 Mar 2017 04:31:37 GMT


Gavin commented on INFRA-13632:

Yep we can define tools locations on each node, it is a manual job to do that for each and
every node however.
Any tool locations defined on a node overrides a global setting.

I guess then, perhaps we could override the Windows nodes to have the ants etc override and
so you could specify the same as the linux variable. Let me know if you want to give that
a whirl , pick a setting you want overriding on a node.

> Define universal variables for Java, Ant etc
> --------------------------------------------
>                 Key: INFRA-13632
>                 URL:
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Sebb
>         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