Introducing the 2 + 2 + 2 Java support plan

Summary tl;dr Jenkins 2.426.1 LTS will support Java 11, 17, and 21. In Fall 2024, Jenkins will require Java 17 or 21 and drop support for Java 11. Thereafter, Jenkins will support each Java LTS release for approximately four years; i.e., Jenkins will support two Java LTS releases at any given time. Background Java’s historically Read more about Introducing the 2 + 2 + 2 Java support plan[…]

Linux installation packages migrated from System V init to systemd

Beginning with Jenkins 2.335 and Jenkins 2.332.1, the Jenkins project is migrating from System V init(8) to systemd(1) in its official Debian, Red Hat, and openSUSE packages. The official Docker image and Helm chart remain unchanged. For up-to-date information, refer to the Managing systemd services page in the documentation. Background Beginning in 2008, the Jenkins Read more about Linux installation packages migrated from System V init to systemd[…]

Java 17 Preview is available in Jenkins 2.339+

Please refer to the Running Jenkins on Java 17 documentation for up-to-date details on how to run Jenkins on Java 17. Jenkins, one of the leading open-source automation servers, does not yet officially support Java 17. On September 14, 2021, OpenJDK 17 was released. This is a Long-Term-Support (LTS) release, and it will stay around Read more about Java 17 Preview is available in Jenkins 2.339+[…]

Guava library upgrade (breaking changes!)

Summary Jenkins bundles Guava, a core Java library from Google. Beginning with Jenkins 2.320 (released on November 10, 2021), Jenkins has upgraded the Guava library from 11.0.1 (released on January 9, 2012) to 31.0.1 (released on September 27, 2021). Plugins have already been prepared to support the new version of Guava in JEP-233. Use the Read more about Guava library upgrade (breaking changes!)[…]

Apache Commons Digester library removal (breaking changes!)

Keeping up with our goal to clean up some of the technical debt inside Jenkins Core and reduce the maintenance overheads, we are happy to report we were able to remove a long-deprecated Apache Commons Digester library. Jenkins Core does not depend anymore on Apache Commons Digester v.2.1, a version that has been released in Read more about Apache Commons Digester library removal (breaking changes!)[…]

Jenkins 2.264+: Major changes in the weekly release line

Recently we have selected Jenkins 2.263 as a new baseline for the LTS release line, with ETA in December 2020. It allows delivering significant and in some cases breaking changes which have been previously on hold. Beginning with the Jenkins 2.264 release on October 27, 2020, we’ve entered a period where the Jenkins weekly releases Read more about Jenkins 2.264+: Major changes in the weekly release line[…]

Spring and XStream updates (breaking changes!)

Cleaning up technical debt is a perennial topic among Jenkins core developers, and one of the most visible issues is the use of obsolete and/or forked third-party libraries. In a world where Dependabot is offering updates to libraries released just hours before, it is unpleasant to be working with dependencies that are many years old. Read more about Spring and XStream updates (breaking changes!)[…]

WebSocket

I am happy to report that JEP-222 has landed in Jenkins weeklies, starting in 2.217. This improvement brings experimental WebSocket support to Jenkins, available when connecting inbound agents or when running the CLI. The WebSocket protocol allows bidirectional, streaming communication over an HTTP(S) port. While many users of Jenkins could benefit, implementing this system was Read more about WebSocket[…]

First successful use of Jenkins telemetry

Half a year ago we delivered a security fix for Jenkins that had the potential to break the entire Jenkins UI. We needed to change how Jenkins, through the Stapler web framework, handled HTTP requests, tightening the rules around what requests would be processed by Jenkins. In the six months since, we didn’t receive notable Read more about First successful use of Jenkins telemetry[…]