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 97F98200CD9 for ; Thu, 29 Jun 2017 00:01:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 96870160BF7; Wed, 28 Jun 2017 22:01:31 +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 B90D9160BFC for ; Thu, 29 Jun 2017 00:01:30 +0200 (CEST) Received: (qmail 74157 invoked by uid 500); 28 Jun 2017 22:01:29 -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 73791 invoked by uid 99); 28 Jun 2017 22:01:29 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2017 22:01:29 +0000 Received: from VEGA (p4FC8B290.dip0.t-ipconnect.de [79.200.178.144]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 0F6FA1A00A2 for ; Wed, 28 Jun 2017 22:01:27 +0000 (UTC) From: "Uwe Schindler" To: References: <573832AC-086E-40DA-9CAB-C9D316968CE2@16degrees.com.au> In-Reply-To: Subject: RE: [JENKINS] [IMPORTANT] - Jenkins Migration and Upgrade (And JDK7 deprecation) Date: Thu, 29 Jun 2017 00:01:23 +0200 Message-ID: <012e01d2f05a$17c89570$4759c050$@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: de Thread-Index: AQM3hu4O+PEKltR3+uej9vN1Xhi6zQHggd4bA2ygZWOfRzth8A== archived-at: Wed, 28 Jun 2017 22:01:31 -0000 Hi, Instead of native Maven build jobs, the easy workaround is: - Use a standard Freestyle Job - Check the right JDK version - Use the "Tool Environment" plugin and select correct Maven version, = e.g. MAVEN_3_5_0_HOME - Enter the Maven execution into the shell command line and use the = "Tool Environment" defined env var to locate the Maven executable (e.g., = "${MAVEN_3_5_0_HOME}/bin/mvn"). We use a similar approach for our smoker tests that run with multiple = JVM versions (7 and 8 for Lucene 5). The second JVM version is just = exported by the "Tools Environment" plugin. Uwe ----- Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Greg Stein [mailto:gstein@gmail.com] > Sent: Wednesday, June 28, 2017 9:05 PM > To: builds@apache.org > Subject: Re: [JENKINS] [IMPORTANT] - Jenkins Migration and Upgrade = (And > JDK7 deprecation) >=20 > I think it depends upon your job type, as Gavin wrote: "in terms of = Maven > jobs for JDK 7" >=20 > On Wed, Jun 28, 2017 at 10:01 AM, Lukasz Lenart > > wrote: >=20 > > Hi, > > > > How to understand that? It won't be possible to run a job using JDK7 > > anymore, right? Even if I selected such JDK in my build, Jenkins = won't > > run it, is that true? > > > > We cannot run this build [1] anymore as JDK6 isn't support by the > > slaves [2] - will it be the same? > > > > [1] https://builds.apache.org/view/S-Z/view/Struts/job/ > > Struts-JDK6-support-2.3/ > > [2] https://builds.apache.org/view/S-Z/view/Struts/job/ > > Struts-JDK6-support-2.3/1064/console > > > > > > Regards > > -- > > =C5=81ukasz > > + 48 606 323 122 http://www.lenart.org.pl/ > > > > 2017-06-27 9:03 GMT+02:00 Gavin McDonald : > > > ASF Jenkins Master Migration and Upgrade on :- > > > > > > > > > Location Local Time > > Time Zone UTC Offset > > > Melbourne (Australia - Victoria) Sunday, 16 July 2017 at = 10:00:00 > > am AEST UTC+10 hours > > > New York (USA - New York) Saturday, 15 July 2017 at > > 8:00:00 pm EDT UTC-4 hours > > > Corresponding UTC (GMT) Sunday, 16 July 2017 at 00:00:00 > > > > > > > > > Hi All, > > > > > > A few things are going to happen in just over 2 weeks. > > > > > > 1. Migration of Jenkins to a new host. A Jenkins Master module and = yaml > > have been puppetized and ready to go. > > > What we need to do to migrate the Master away from its current = host > > is turn off the old service. Perform a final > > > rsync of data and perform the migration tasks. > > > > > > As we intend to preserve history for jobs this will take some = time. > > > At the same time as doing this migration to a new host, all = slave > > connections will be updated (see below.) > > > I have no current estimate of downtime, but it will run into = several > > hours. We do plan to run this migration on a > > > Sunday at the lowest part of Jenkins usual usage. > > > > > > 2. Upgrade of Jenkins - Jenkins project released a new LTS = release, > > version 2.60.1. This is a major release and breaks > > > Jenkins in terms of Maven jobs for JDK 7 in the same way that = it > > happened for Maven and JDK 6 a few months back. > > > > > > The infra team (mainly myself) got quite some feedback on not > > supplying advance notice of this breakage. That upgrade > > > however was necessary due to security fixes that required our > > upgrade. This email serves as advance warning of the > > > upcoming upgrade of Jenkins, the downtime due to the migration = of > > the service to a new host; and notice of the breakage > > > to JDK 7 that the upgrade brings. > > > > > > Please familiarise yourself with the Jenkins LTS upgrade notes = at > > [1]. > > > In particular please note:- > > > > > > =E2=80=9C=E2=80=A62.60.1 is the first Jenkins LTS release that = requires Java 8 to > > run. If you're using the Maven Project type, please note that it = needs to > > use a JDK capable of running Jenkins, i.e. JDK 8 or up. If you = configure an > > older JDK in a Maven Project, Jenkins will attempt to find a newer = JDK and > > use that automatically. If your SSH Slaves fail to start and you = have the > > plugin install the JRE to run them, make sure to update SSH Slaves = Plugin > > to at least version 1.17 (1.20 recommended). > > > Changes since 2.60: > > > Fix for NullPointerException while initiating some SSH connections > > (regression in 2.59). (issue 44120 > org/browse/JENKINS-44120>) > > > Notable changes since 2.46.3: > > > Jenkins (master and agents) now requires Java 8 to run. (issue = 27624 < > > https://issues.jenkins-ci.org/browse/JENKINS-27624> <>, issue 42709 = < > > https://issues.jenkins-ci.org/browse/JENKINS-42709> <>, pull 2802 < > > https://github.com/jenkinsci/jenkins/pull/2802>, announcement blog = post > < > > https://jenkins.io/blog/2017/04/10/jenkins-has-upgraded-to-java-8/>) > > > > > > =E2=80=A6=E2=80=9D > > > > > > There are over 30 other enhancements/fixes since 2.46.2 which we > > currently run so please do take a note of those. > > > > > > Recap: In just over 2 weeks, downtime for a migration AND upgrade = is > > planned. > > > > > > Please do not rely on Jenkins at all for that weekend if you use = it in > > your release workflow. > > > > > > Please do take this notice back to your dev lists. > > > > > > Any questions or concerns please email back to builds@apache.org > > only. > > > > > > Thanks > > > > > > Gav=E2=80=A6 > > > > > > [1] - https://jenkins.io/changelog-stable/ > >