Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CF888200C43 for ; Sun, 26 Mar 2017 09:15:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE157160B87; Sun, 26 Mar 2017 07:15:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EF844160B6B for ; Sun, 26 Mar 2017 09:15:16 +0200 (CEST) Received: (qmail 37777 invoked by uid 500); 26 Mar 2017 07:15:16 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 37765 invoked by uid 99); 26 Mar 2017 07:15:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Mar 2017 07:15:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 274E518396C for ; Sun, 26 Mar 2017 07:15:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.502 X-Spam-Level: ***** X-Spam-Status: No, score=5.502 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.603, HTML_MESSAGE=2, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=16degrees.com.au Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5KYKSDh8itrz for ; Sun, 26 Mar 2017 07:15:12 +0000 (UTC) Received: from localhost (16degrees.com.au [138.201.119.238]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4CFE35F3FE for ; Sun, 26 Mar 2017 07:15:12 +0000 (UTC) Received: by localhost (Postfix, from userid 113) id BBC271343E5; Sun, 26 Mar 2017 07:17:42 +0000 (UTC) Received: from [192.168.88.249] (unknown [218.185.235.166]) by localhost (Postfix) with ESMTPSA id 7ECDD12029E for ; Sun, 26 Mar 2017 07:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=16degrees.com.au; s=mail; t=1490512361; bh=kazonlfh00x3XYbjRbnEeV4saxsM1M5Iwg8qxZLVrAE=; h=From:Subject:Date:References:To:In-Reply-To:From; b=lK+v//gb+Fof0sZYqwRpdlPPbpyMxjytKHK53c6hT9aUm3sL0Ko2BSwQP9Bz65/TM Y2vsPVtTND0pUVjCHAnaJd36X4yQSH7dzLLnaBRbLSAklkl2EBGvlHzlEOvPr3xQzo HMAjPr7G8R+PYqUpMfPK3J51P4V8DrPOXNZMOTT0= From: Gavin McDonald Content-Type: multipart/alternative; boundary="Apple-Mail=_B4ED12D9-3588-4160-BF77-053A70778207" Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: JDK names on Windows nodes & Jenkinsfile Date: Sun, 26 Mar 2017 18:12:36 +1100 References: <1663789.AU79qohh2U@herve-desktop> <6DE8613F-C70D-43A0-AB02-6654EDEACAEA@16degrees.com.au> <1859728.nXJGUVqyHz@herve-desktop> To: builds@apache.org In-Reply-To: <1859728.nXJGUVqyHz@herve-desktop> Message-Id: <48E23651-9431-491B-BD36-14BAFDA10704@16degrees.com.au> X-Mailer: Apple Mail (2.3259) archived-at: Sun, 26 Mar 2017 07:15:18 -0000 --Apple-Mail=_B4ED12D9-3588-4160-BF77-053A70778207 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, Please see:- = https://builds.apache.org/view/I/view/Infrastructure/job/infra-test-all-pi= peline/ = =20 and = https://github.com/apache/infrastructure-test/blob/master/Jenkinsfile.samp= le = =20 tl=E2=80=99dr 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=20 the same (latest) link for Windows and Ubuntu. I=E2=80=99ll add this information to our wiki Infra space docs. Gav=E2=80=A6 > On 25 Mar 2017, at 4:23 pm, Herv=C3=A9 BOUTEMY = wrote: >=20 > Le samedi 25 mars 2017, 05:28:37 CET Gavin McDonald a =C3=A9crit : >>> On 24 Mar 2017, at 2:55 pm, Herv=C3=A9 BOUTEMY = wrote: >>>=20 >>> Hi, >>>=20 >>> It seems new JDKs were added to Windows nodes recently [1]: instead = of >>> "JDK >>> 1.8 (unlimited security) 64-bit Windows only", we now have 2 = options: "JDK >>> 1.8.0_92 (unlimited security) 64-bit Windows only" and "JDK = 1.8.0_121 >>> (unlimited security) 64-bit Windows only". >>>=20 >>> Having new JDKs is great, but changing names is not great :) >>=20 >> Yes I realise that and am sorry for the change - however we have also = been >> told that it would be great if the drop down options (and in turn = tool >> location variables) had versions is them - JDK 1.8 by itself was not >> complete enough for some people. > yes, different projects with different requirements: each requirement = is=20 > valid, then if we can support both, please :) >=20 >>=20 >> Which then led to renaming the existing link and adding a new version = in >> also. > sorry to be picky: I saw the new "JDK Latest (Windows Only)" entry > *Could it be renamed to "JDK 1.8 Latest (Windows Only)"*, to match = general=20 > convention, please? >=20 >>> We're using Jenkinsfiles, with JDK names coded inside (we =3D Maven, = but I >>> suppose others do the same): until now, it was not fun to have a = different >>> JDK names for Linux and Windows nodes, but now having to follow very >>> precise JDK name on Windows nodes is a new hurdle. >>>=20 >>> Is it possible: >>> 1. to have a JDK 8 alias on Windows that won't change over time, = even if >>> detailed version changes (like "JDK 1.x (latest)" on Ubuntu = nodes=E2=80=9D? >>=20 >> Sure , we have latest links all over the place and do try to actually = keep >> them updated these days (and not just for Java, but Ant, Maven and = others.) > thank you >=20 >>> 2. ideally to have the same name on Windows as on Linux nodes? >>=20 >> Yes, more thought needed on this though - drop down options require a >> defined JAVA_HOME - a path to the location as you well know, and that = is >> different for Linux and Windows. Currently its easier in a = Jenkinsfile to >> seperate out the Windows and Linux nodes I imagine. > this windows specific tools naming convention adds some complexity to = the=20 > Jenkinsfile: ideally, it would be great if we could avoid it. > But I imagine we're trading complexity for Jenkins administrators with=20= > complexity for Jenkins users: I don't really know how to really = compare them=20 > in a neutral way, I'm a user, I know my Jenkinsfile complexity, but I = don't see=20 > the complexity for Jenkins admin. I imagine that's what's behind = INFRA-13632=20 > issue: finding a reasonable complexity for admins that will ease life = for=20 > developpers (since having Windows specific tools names are a pain in = general) >=20 > Regards, >=20 > Herv=C3=A9 >=20 >>=20 >> Gav=E2=80=A6 >>=20 >>> And of course, if I can help to make this happen, just tell me what = to do. >>>=20 >>> Regards, >>>=20 >>> Herv=C3=A9 >>>=20 >>> [1] = https://cwiki.apache.org/confluence/pages/viewpreviousversions.action? >>> pageId=3D65147537 >=20 >=20 --Apple-Mail=_B4ED12D9-3588-4160-BF77-053A70778207--