Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 17 support and official distributions #569

Open
3 tasks
oleg-nenashev opened this issue Oct 19, 2021 · 2 comments
Open
3 tasks

Java 17 support and official distributions #569

oleg-nenashev opened this issue Oct 19, 2021 · 2 comments
Labels
enhancement New feature or request roadmap This issue represents a major topic on the Jenkinsfile Runner roadmap

Comments

@oleg-nenashev
Copy link
Member

Currently Jenkinsfile Runner ships only with Java 11. @timja @basil and other contributors made a lot of work to ship Java 17 preview support in the Jenkins core, and it would be awesome to ship Jenkinsfile Runner distributions for it too

Scope

  • Add test automation fo Java 17 compatibility
  • Create preview Docker distributions for Java 17
  • Document Java 17 support policy
@ssthom
Copy link

ssthom commented Nov 13, 2024

I started on a PR #723 to upgrade to Java 17 and newer Jenkins release 2.462.3. Having trouble getting the builds to work in the PR. But locally I was able to compile and build the docker image with Maven 3.9.9 and Java 17. Also Java 8/11 are out of support so I think we can switch directly to 17 https://www.jenkins.io/doc/book/platform-information/support-policy-java/

mvn clean install -Denvironment=test -Ppackage-app,package-vanilla,jacoco,run-its -DargLine="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED"
podman build -t jenkins4eval/jenkinsfile-runner -f packaging/docker/unix/eclipse-temurin-17-jre/Dockerfile . --arch x86_64

@oleg-nenashev
Copy link
Member Author

oleg-nenashev commented Nov 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap This issue represents a major topic on the Jenkinsfile Runner roadmap
Projects
Development

No branches or pull requests

2 participants