Page MenuHomePhabricator

Switch Jenkins servers to Java 11
Open, MediumPublic

Description

When we have upgraded the Jenkins master from Debian Stretch to Debian Buster, we have kept using Java 8 notably because of the Gearman plugin on the CI ones. The releases one can be switched though.

The Jenkins agents are already running using Java 11.

A prerequisite for CI is to upgrade the Gearman plugin. There is a fork of the OpenDev plugin somewhere on Github and it will need to be forked on our Gerrit and re build.

  • releases1002.eqiad.wmnet
  • releases2001.codfw.wmnet
  • New Gearman plugin
    • contint2001.wikimedia.org
    • contint1001.wikimedia.org

Event Timeline

hashar created this task.Dec 3 2020, 2:02 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 3 2020, 2:02 PM

Change 645075 had a related patch set uploaded (by Hashar; owner: Hashar):
[operations/puppet@production] jenkins: support changing $JAVA_HOME

https://gerrit.wikimedia.org/r/645075

Change 645075 merged by Dzahn:
[operations/puppet@production] jenkins: support changing $JAVA_HOME

https://gerrit.wikimedia.org/r/645075

hashar triaged this task as Medium priority.Fri, Feb 5, 1:37 PM

I have ported the Jenkins Gearman plugin to JDK 11, we can now upgrade the CI Jenkins.

Let's start with the releases Jenkins install? Given jenkins being managed by profile::java we only need to tweak the Hiera settings in hieradata/role/common/releases.yaml