This page is a collaborative entrypoint for developer resources about developing and testing Jenkins to run on Java 11.
This page is not designed to receive status updates for user-facing issues. But you are more than welcome to check and report such issues so that they show on the dedicated Known Java 11 Compatibility issues wiki page.
Use or update to
https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md#329 3.29 contains some updates to be able to build and run your plugins using Java 11.
First, please avoid doing this.
If you really think you have a case where you need it, we encourage you to come over the Jenkins developers mailing list to expose your case and see if we can find another way.
In any case, the strongly recommended way to handle this is:
The long-term solution is already on its way, but is not delivered yet. It's partly delivered by you bumping to the last 3.29+ parent pom so your plugin embeds a "minimum Java" metadata, plus adapting Jenkins core to use this metadata to filter out releases for a version of Java that is higher than the current runtime. Follow and if you are interested.
WIP: Stay tuned: an article is planned to land on jenkins.io in the next hours/days .
Documented in the PCT repository: https://github.com/jenkinsci/plugin-compat-tester#running-pct-with-custom-java-versions
Documented on the ATH repository: https://github.com/jenkinsci/acceptance-test-harness/blob/master/docs/JAVA11.md
Please add known issues here.