Let us celebrate Jenkins of support for Java 11

This article first appeared: Jenkins Chinese community

Original link     Author: alecharp

译者: Yanjun Shi

Let us celebrate Jenkins of support for Java 11

This article is to celebrate Jenkins of support for Java 11

c3bd32a48c96b4f10dad51a10f644233

NOTE: This is a Java 11 support team prepared a joint blog post: Adrien Lecharpentier, Ashton Treadway, Baptiste Mathus, Jenn Briden, Kevin Earls, MaríaIsabelVilacides, Mark Waite, RamónLeón and Oleg Nenashev.

To this end we work hard, and now here. We are excited to announce that from Jenkins 2.164 (2019 Nian 2 Yue 10 released) and LTS 2.164.1 (ETA: March 14) began, in full support of Jenkins in Java 11. This means that you can now use Java 11 JVM running Jenkins master and agent.

From the beginning of June 2018, it organized a number of activities to improve the Jenkins code base and add Java 11 support. In addition to these events, Core / Plugins defenders and many other contributors are working hard to ensure that they identify and solve as many problems associated with Java 11 support.

11 Java support efforts led to the creation in Jenkins in  JEP-211: Java Support in 10+ Jenkins . It also prompted the Special Interest Group platform set up to coordinate Java 11 work platforms and other support work.

## Celebrations

We would like to take a moment to thank everyone involved in these tasks: contributors, reporters' questions, testers, event planners and participants and all those who generously provided time and support for this work in the community. thank you all!

Here are some to help accomplish this task contributors (in alphabetical order):

Alex Earl, Alyssa Tong, Ashton Treadway, Baptiste Mathus, Carlos Sanchez, Daniel Beck, David Aldrich, Denis Digtyar, Devin Nusbaum, Emeric Vernat, Evaristo Gutierrez, Gavin Mogan, Gianpaolo Macario, Isabel Vilacides, James Howe, Jeff Pearce, Jeff Thompson, Jenn Briden, Jesse Glick, Jonah Graham, Kevin Earls, Ksenia Nenasheva, Kohsuke Kawaguchi, Liam Newman, Mandy Chung, Mark Waite, Nicolas De Loof, Oleg Nenashev, Oliver Gondža, Olivier Lamy, Olivier Vernin, Parker Ennis, Paul Sandoz, Ramón León, Sam Van Oort, Tobias Getrost, Tracy Miranda, Ulli Hafner, Vincent Latombe, Wadeck Follonier

(If we missed anybody in this list, we apologize.)

## Guide

For simplicity, the following is a method Docker mirror Jenkins started in Java 11 use. You can select Java-based mirror 11 by adding the suffix mirrored label -jdk11. If you are upgrading an existing instance, please read before you upgrade  Jenkins Java version upgrade from 8-11 .

So you can run on the Java 11 Jenkins:

docker run -p 50000:50000 -p 8080:8080 jenkins/jenkins:2.164-jdk11

But, as usual, you can still use other methods to start Jenkins. Refer to  run on the Java 11 Jenkins  more detailed document.

## Developer's Guide

For developers involved in the development of Jenkins, you can  Java 11 Developer's Guide to find information about developing and testing Jenkins Details to run on the Java 11 in.

This resource re-combination of modifications may need to be performed to verify the compatibility of Java 11 plug-ins.

## What is the next step

Although this is a major achievement, but we still have work to do.

Our primary task is to  JenkinsFile Runner  Add Java 11 support programs. From there, we will continue to  Jenkins X  project and  Evergreen  provides Java 11 support programs.

So, even though this is a big problem for us, this is not the end of the story. This is to enable users, developers and members of the community to benefit Jenkins important step.

## Reference Links

 

Guess you like

Origin www.oschina.net/news/108354/let-s-celebrate-java-11-support