Note: when resolving this task, update the Java section at https://www.mediawiki.org/wiki/Continuous_integration/Language_Versions_Policy
---
This task is to phase out support for Java 8 from the CI Jenkins jobs triggered by Zuul. They are defined in https://gerrit.wikimedia.org/g/integration/config/
The reason is OpenJDK 8 is not present in Debian Buster (released in July 2019, EOL since August 2022) and we forward ported it. As we would like to phase out Debian Buster images from CI, it looks like we should remove support for Java 8 as a prerequisite.
OpenJDK 11 was introduced in Buster, is in Bullseye and is not in Bookworm (which comes with Java 17).
As an alternative, we can migrate the CI images from {nav Buster > Bullseye} since we forward ported Java 8 there as well (`bullseye-wikimedia component/jdk8`).
Repositories triggering at least one job having `java8` in its name:
| Gerrit project | Java 11 jobs? | Comment
|--|--|--
| analytics/gobblin-wmf | No |
| analytics/refinery/source | No |
| analytics/wmde/toolkit-analyzer | No |
| integration/gearman-java | Yes |
| integration/jenkinsci/gearman-java | Yes |
| mediawiki/tools/mwdump | No |
| operations/software/gerrit/plugins/barricade | No |
| search/cirrus-streaming-updater | Yes |
| search/extra-analysis | No | already running on Java 11 in production
| search/extra | No | already running on Java 11 in production
| search/glent | No | already running on Java 11 in production
| search/highlighter | No | already running on Java 11 in production
| wikidata/query/blazegraph | No | We rarely need to build Blazegraph itself. It would be nice to keep a working CI in case we need it, but if needed, we can disable those jobs
| wikidata/query/rdf | No | Blazegraph is not running on Java 11 and is unlikely to ever be
| wikimedia/discovery/discovery-maven-tool-configs | No | trivial to migrate
| wikimedia/discovery/discovery-parent-pom | No | trivial to migrate
| wikimedia-event-utilities | No |
| wmf-jvm-utils | No |