Skip to content

CAMEL-24616: Build and test with JDK 27 - #26133

Draft
gnodet wants to merge 1 commit into
apache:mainfrom
gnodet:CAMEL-24616/jdk27-ci
Draft

CAMEL-24616: Build and test with JDK 27#26133
gnodet wants to merge 1 commit into
apache:mainfrom
gnodet:CAMEL-24616/jdk27-ci

Conversation

@gnodet

@gnodet gnodet commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

What

Add CI infrastructure to build and test Camel with JDK 27 (EA), as a checkpoint toward the next LTS (JDK 29, September 2027).

Changes

  1. Jenkinsfile.jdk27 — Weekly Jenkins CI build on JDK 27 EA, modeled on the existing Jenkinsfile.jdk26. Runs the full build+test matrix on ppc64le, s390x, and ubuntu-avx platforms using the jdk_27_latest tool.

  2. GitHub Actions PR build (.github/workflows/pr-build-main.yml) — Added JDK 27-ea as an experimental matrix entry with continue-on-error: true. This gives early visibility into JDK 27 compatibility on every PR without blocking merges.

Notes

  • JDK 27 GA is planned for September 2026. The reporter confirmed that mvn clean install -DskipTests succeeds with JDK 27 EA.
  • The Jenkins jdk_27_latest tool must be configured on the ASF Jenkins infrastructure for the Jenkinsfile to work (similar to how jdk_26_latest was set up for CAMEL-23660).
  • The GHA experimental entry uses actions/setup-java with java-version: 27-ea and distribution: temurin, which is supported per the setup-java docs.

Fixes: https://issues.apache.org/jira/browse/CAMEL-24616

AI agent (Hermes on behalf of gnodet)

- Add Jenkinsfile.jdk27 for weekly Jenkins CI builds on JDK 27 EA
  (modeled on existing Jenkinsfile.jdk26, runs on ppc64le, s390x,
  and ubuntu-avx)
- Add JDK 27-ea as an experimental entry in the GitHub Actions PR
  build matrix (continue-on-error: true, so failures won't block PRs)

Signed-off-by: Guillaume Nodet <gnodet@gmail.com>
@gnodet gnodet added the task label Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions github-actions Bot added the ci label Sep 4, 2026

@apupier apupier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to wait that the final relase of JDK 27 is available on the Apache Jenkins instance

Comment on lines +81 to +84
- java: '27-ea'
# JDK 27 EA: early-access build to catch compatibility issues ahead of the Sep 2026 GA.
# Experimental — failures do not block PR merges.
experimental: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given that we are lacking GitHub resources, we took the option to not add the jdk 27 on GitHub side

Comment thread Jenkinsfile.jdk27
axes {
axis {
name 'JDK_NAME'
values 'jdk_27_latest'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not yet available on the Apaceh jenkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants