This is an automated email from the ASF dual-hosted git repository.

tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie.git


The following commit(s) were added to refs/heads/main by this push:
     new 547096f06a0 [incubator-kie#7205] Migrate CI/CD pipelines to Java 21 
(Phase 2) (#7154)
547096f06a0 is described below

commit 547096f06a016782b6ba306a70c7a3e053098543
Author: Kusuma04-dev <[email protected]>
AuthorDate: Tue Oct 27 09:39:42 2026 +0530

    [incubator-kie#7205] Migrate CI/CD pipelines to Java 21 (Phase 2) (#7154)
    
    * java 21 updates
    
    * updated yml
    
    * updated version
    
    * updated files
    
    * removed unused file changes
    
    * addressed review comments
    
    * updated versions
    
    * addressed review comments
    
    * updated doc
    
    * updated jobs
    
    ---------
    
    Co-authored-by: Kusuma <[email protected]>
---
 .ci/jenkins/config/branch.yaml      |  4 ++--
 .github/workflows/ci.yaml           |  4 ++--
 .github/workflows/pr-downstream.yml |  4 ++--
 docs/PR_CHECKS_AND_CI.md            | 12 +++++++-----
 4 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml
index 14a946db05c..59dfb627c9e 100644
--- a/.ci/jenkins/config/branch.yaml
+++ b/.ci/jenkins/config/branch.yaml
@@ -104,6 +104,6 @@ jenkins:
         image: docker.io/apache/incubator-kie-kogito-ci-build:main-latest
         args: --privileged --group-add docker
   default_tools:
-    jdk: jdk_17_latest
+    jdk: jdk_21_latest
     maven: maven_3.9.16
-    sonar_jdk: jdk_17_latest
+    sonar_jdk: jdk_21_latest
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index abf658e8f90..a7c766b8289 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -21,7 +21,7 @@ name: 'CI :: Build'
 
 on:
   pull_request:
-    types: [opened, synchronize, reopened, closed]
+    types: [opened, synchronize, reopened]
     branches: [main]
     paths-ignore:
       - 'LICENSE'
@@ -42,7 +42,7 @@ jobs:
 
   build:
     if: github.event.action != 'closed'
-    name: '${{ matrix.os }}, Java ${{ matrix.java }}'
+    name: 'CI :: Build (Java ${{ matrix.java }}) / ${{ matrix.os }}'
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
diff --git a/.github/workflows/pr-downstream.yml 
b/.github/workflows/pr-downstream.yml
index 093d6953304..5ac1f2b6d7e 100644
--- a/.github/workflows/pr-downstream.yml
+++ b/.github/workflows/pr-downstream.yml
@@ -61,10 +61,10 @@ jobs:
         with:
           path: incubator-kie
 
-      - name: 'SETUP :: Java 17'
+      - name: 'SETUP :: Java 21'
         uses: actions/setup-java@v6
         with:
-          java-version: 17
+          java-version: 21
           distribution: temurin
           cache: maven
 
diff --git a/docs/PR_CHECKS_AND_CI.md b/docs/PR_CHECKS_AND_CI.md
index 3a6d350f332..3b13771f131 100644
--- a/docs/PR_CHECKS_AND_CI.md
+++ b/docs/PR_CHECKS_AND_CI.md
@@ -24,7 +24,7 @@ CI runs on GitHub Actions. Workflows live in
 [`script/ci/`](../script/ci/) as [JBang](https://www.jbang.dev) scripts, plus
 local composite actions in [`.github/actions/`](../.github/actions/).
 
-## `CI :: Build` — the main PR check
+## `CI :: Build (Java 17)` / `CI :: Build (Java 21)` — the main PR checks
 
 Defined in [ci.yaml](../.github/workflows/ci.yaml). Runs on every pull request
 against `main`, and on every push to `main`. Documentation-only changes
@@ -61,14 +61,16 @@ JARs) and `-Dreproducible`.
 
 Notes:
 
-- The build matrix currently runs on Linux with Java 17 and 21; macOS and
-  Windows are temporarily excluded because of Docker-dependent tests failing
-  on non-Linux runners.
+- The build matrix currently runs on Linux with Java 17 and Java 21 (producing
+  check names `CI :: Build (Java 17) / ubuntu-latest` and
+  `CI :: Build (Java 21) / ubuntu-latest`); macOS and Windows are temporarily
+  excluded because of Docker-dependent tests failing on non-Linux runners.
 - The `apache.snapshots` Maven repository is blocked via a mirror in
   `settings.xml`, so builds cannot silently depend on snapshot artifacts.
 - A new push to a PR cancels that PR's in-progress run, and so does closing
   or merging the PR. Runs for pushes to `main` are never canceled.
-  `CI :: CI Tests` and `Dev :: Tests` follow the same rules.
+  `CI :: Build (Java 17)`, `CI :: Build (Java 21)`, `CI :: CI Tests`, and
+  `Dev :: Tests` follow the same rules.
 - After the build, a Surefire report step fails the job on test failures, and
   the build logs (`build.log`) plus the reproducibility outputs
   (`*.buildcompare`, `*.buildinfo`) are uploaded as workflow artifacts.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to