infra-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/INFRA-13632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942181#comment-15942181
] 

Gavin commented on INFRA-13632:
-------------------------------

also:-

Please see:-

https://builds.apache.org/view/I/view/Infrastructure/job/infra-test-all-pipeline/ 

and

https://github.com/apache/infrastructure-test/blob/master/Jenkinsfile.sample 

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: https://issues.apache.org/jira/browse/INFRA-13632
>             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
> ANT_1_8_4_WINDOWS__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
(v6.3.15#6346)

Mime
View raw message