opensearch-project/opensearch-ci

Jenkins upgrade to latest LTS:2.426.3

Closed this issue · 6 comments

Is your feature request related to a problem? Please describe

We are currently running Jenkins 2.387.1, and are planning to upgrade it to the latest LTS version, 2.440.2.

There are CVEs and bugs pending to be fixed by upgrading Jenkins core to higher version
opensearch-project/opensearch-build#3727

Describe the solution you'd like

Upgrade Jenkins version to the latest LTS version.
At the time this issue is created, the latest LTS version is 2.440.2
https://www.jenkins.io/doc/upgrade-guide/

Ref to the previous upgrade, here are the steps to follow:

Describe alternatives you've considered

N/A

Additional context

N/A

Regarding the Java upgrade of our Jenkins nodes, we have the option to upgrade to either JDK17 or JDK21. Docker Hub currently provides support for both versions on the LTS 2.426.3:

For JDK21: 2.440.2-lts-jdk21
For JDK17: 2.440.2-lts-jdk17

Given that JDK21 is relatively recent, and taking into account Jenkins' commitment to maintaining support for JDK17 until the early 2026, would it be ok for us to proceed with the upgrade to JDK17 for now?
cc: @peterzhuamazon @gaiksaya @prudhvigodithi

We decided to move on with using JDK17

We have decided to move on with using JDK21 becasue it will be officially supported until 2029

We are changing to use jenkins:2.426.3-lts-jdk21.

Jenkins is successfully upgraded to 2.426.3