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-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 44593c82a [kie-issues#2285]: EPIC - 10.3.x+ stream - Update CI to 
remove outdated build-chain automations  (#2225)
44593c82a is described below

commit 44593c82a1980dc427aaa3e5c9a74efddfd4badc
Author: Kbowers <[email protected]>
AuthorDate: Fri Aug 7 16:52:29 2026 +0200

    [kie-issues#2285]: EPIC - 10.3.x+ stream - Update CI to remove outdated 
build-chain automations  (#2225)
    
    * update ci and update to account for renames
    
    * remove max-parallel
    
    * fix concurrency issue
    
    * fix squence
    
    * update pathing
    
    * update springboot examples to be activeByDefault
    
    * revert springboot change
---
 .ci/jenkins/Jenkinsfile                            |   2 +-
 .github/workflows/pr-jenkins.yml                   |  23 ----
 .github/workflows/pr-kogito-examples.yml           | 140 +++++++++++++--------
 Makefile                                           |   4 +-
 README.md                                          |  14 +--
 .../ocp-tryout/applicationImage.md                 |   2 +-
 .../process-knative-quickstart-quarkus/README.md   |   2 +-
 .../process-rest-workitem-quarkus/README.md        |   2 +-
 .../JacksonHttpMessageConverterConfig.java         |   2 +-
 pom.xml                                            |   6 +-
 10 files changed, 105 insertions(+), 92 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
index 1c15ded57..e0b7a0cfc 100644
--- a/.ci/jenkins/Jenkinsfile
+++ b/.ci/jenkins/Jenkinsfile
@@ -12,7 +12,7 @@ pipeline {
         disableConcurrentBuilds(abortPrevious: true)
     }
     environment {
-        BUILDCHAIN_PROJECT = 'apache/incubator-kie-kogito-examples'
+        BUILDCHAIN_PROJECT = 'apache/incubator-kie-examples'
 
         KOGITO_EXAMPLES_BUILD_MVN_OPTS = '-Dvalidate-formatting'
     }
diff --git a/.github/workflows/pr-jenkins.yml b/.github/workflows/pr-jenkins.yml
deleted file mode 100644
index 79c7fcc85..000000000
--- a/.github/workflows/pr-jenkins.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# This workflow will build a Java project with Maven
-# For more information see: 
https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-name: Jenkins Tests
-on:
-  pull_request:
-    paths: 
-    - '.ci/jenkins/**'
-    - '.github/workflows/jenkins-tests-PR.yml'
-
-jobs:
-  dsl-tests:
-    concurrency:
-      group: ${{ github.repository.name }}_dsl_tests-${{ github.head_ref }}
-      cancel-in-progress: true
-    runs-on: ubuntu-latest
-    name: DSL
-    steps:
-    - name: DSL tests
-      uses: apache/incubator-kie-kogito-pipelines/.ci/actions/dsl-tests@main
-      with:
-        main-config-file-repo: apache/incubator-kie-kogito-pipelines
-        main-config-file-path: .ci/jenkins/config/main.yaml
-        branch-config-file-repo: apache/incubator-kie-kogito-pipelines
diff --git a/.github/workflows/pr-kogito-examples.yml 
b/.github/workflows/pr-kogito-examples.yml
index 8ab68a508..b36d1b018 100644
--- a/.github/workflows/pr-kogito-examples.yml
+++ b/.github/workflows/pr-kogito-examples.yml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 name: Kogito Examples
 
 on:
@@ -12,65 +31,82 @@ on:
       - 'docsimg/**'
       - '.ci/jenkins/**'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
-  build-chain:
-    concurrency:
-      group: pr-${{ matrix.job_name }}_${{ matrix.os }}_${{ 
matrix.java-version }}_${{ matrix.maven-version }}_${{ github.head_ref }}
-      cancel-in-progress: true
+  build:
+    name: '${{ matrix.examples-subfolder }}'
+    runs-on: ubuntu-latest
     timeout-minutes: 180
     strategy:
-      matrix:
-        job_name: [ kogito-java-examples, kogito-quarkus-examples, 
kogito-springboot-examples, kogito-gradle-examples ]
-        os: [ubuntu-latest]
-        java-version: [17]
-        maven-version: ['3.9.11']
-        include:
-          - job_name: kogito-java-examples
-            repository: incubator-kie-kogito-examples
-            env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-java-examples/
-          - job_name: kogito-quarkus-examples
-            repository: incubator-kie-kogito-examples
-            env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-quarkus-examples/
-          - job_name: kogito-springboot-examples
-            repository: incubator-kie-kogito-examples
-            env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-springboot-examples/
-          - job_name: kogito-gradle-examples
-            repository: incubator-kie-kogito-examples
-            env_KOGITO_EXAMPLES_SUBFOLDER_POM: gradle-examples/
       fail-fast: false
-    runs-on: ${{ matrix.os }}
-    name: ${{ matrix.job_name }} (${{ matrix.os }} / Java-${{ 
matrix.java-version }} / Maven-${{ matrix.maven-version }})
-    env:
-      DEPENDENCY_TREE_FILE: 'mvn_dependency_tree_${{ matrix.job_name }}_${{ 
matrix.os }}.txt'
+      matrix:
+        examples-subfolder:
+          - kogito-java-examples
+          - kogito-quarkus-examples
+          - kogito-springboot-examples
+          - gradle-examples
+
     steps:
-      - name: Clean Disk Space
-        uses: 
apache/incubator-kie-kogito-pipelines/.ci/actions/ubuntu-disk-space@main
-        if: ${{ matrix.os == 'ubuntu-latest' }}
-      - name: Support long paths
-        if: ${{ matrix.os == 'windows-latest' }}
-        uses: apache/incubator-kie-kogito-pipelines/.ci/actions/long-paths@main
-      - name: Java and Maven Setup
-        uses: apache/incubator-kie-kogito-pipelines/.ci/actions/maven@main
+      - name: 'SETUP :: Free disk space'
+        shell: bash
+        run: |
+          sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc 
/opt/hostedtoolcache/CodeQL
+          df -h
+
+      - name: 'SETUP :: Checkout incubator-kie'
+        uses: actions/checkout@v7
         with:
-          java-version: ${{ matrix.java-version }}
-          maven-version: ${{ matrix.maven-version }}
-          cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version 
}}-maven${{ matrix.maven-version }}
-      - name: Build Chain
-        uses: 
apache/incubator-kie-kogito-pipelines/.ci/actions/build-chain@main
-        env:
-          KOGITO_EXAMPLES_SUBFOLDER_POM: ${{ 
matrix.env_KOGITO_EXAMPLES_SUBFOLDER_POM }}
+          repository: apache/incubator-kie
+          path: incubator-kie
+
+      - name: 'SETUP :: Checkout incubator-kie-examples'
+        uses: actions/checkout@v7
         with:
-          annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ 
matrix.maven-version }}
-          github-token: "${{ secrets.GITHUB_TOKEN }}"
-          definition-file: 
https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
-      - name: Surefire Report
-        uses: 
apache/incubator-kie-kogito-pipelines/.ci/actions/surefire-report@main
-        if: ${{ always() }}
+          repository: apache/incubator-kie-examples
+          path: incubator-kie-examples
+
+      - name: 'SETUP :: Java 17'
+        uses: actions/setup-java@v5
         with:
-          report_paths: '**/*-reports/TEST-*.xml'
-      - name: Upload Dependency Trees
+          java-version: 17
+          distribution: temurin
+          cache: maven
+
+      - name: 'SETUP :: Block apache.snapshots Maven repository'
+        shell: bash
+        run: |
+          mkdir -p "$HOME/.m2"
+          cat > "$HOME/.m2/settings.xml" <<'EOF'
+          <settings xmlns="http://maven.apache.org/SETTINGS/1.2.0";
+                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+                    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 
https://maven.apache.org/xsd/settings-1.2.0.xsd";>
+            <mirrors>
+              <mirror>
+                <id>block-apache-snapshots</id>
+                
<mirrorOf>apache.snapshots,apache-snapshot-repository</mirrorOf>
+                <url>https://repository.apache.org/snapshots/</url>
+                <blocked>true</blocked>
+              </mirror>
+            </mirrors>
+          </settings>
+          EOF
+
+      - name: 'BUILD :: Install incubator-kie snapshot'
+        shell: bash
+        run: mvn --batch-mode --no-transfer-progress -DskipTests -DskipITs 
-Denforcer.skip=true -Dcheckstyle.skip=true -Dformatter.skip=true 
-Darchunit.skip=true install -f incubator-kie/pom.xml
+
+      - name: 'BUILD :: ${{ matrix.examples-subfolder }}'
+        shell: bash
+        run: |
+          mvn --batch-mode --no-transfer-progress -fae -pl :kogito-examples 
-am install -DskipTests -DskipITs -Denforcer.skip=true -f 
incubator-kie-examples/pom.xml
+          mvn --batch-mode --no-transfer-progress -fae -f 
incubator-kie-examples/${{ matrix.examples-subfolder }}/pom.xml install 
dependency:tree -DoutputFile=mvn_dependency_tree_${{ matrix.examples-subfolder 
}}_ubuntu-latest.txt
+
+      - name: 'REPORT :: Upload dependency trees'
         uses: actions/upload-artifact@v7
-        if: ${{ always() }}
+        if: always()
         with:
-          name: dependency-trees-logs_${{ matrix.job_name }}_${{ matrix.os }}
-          path: '**/${{ env.DEPENDENCY_TREE_FILE }}'
\ No newline at end of file
+          name: dependency-trees-logs_${{ matrix.examples-subfolder 
}}_ubuntu-latest
+          path: 'incubator-kie-examples/${{ matrix.examples-subfolder 
}}/**/mvn_dependency_tree_${{ matrix.examples-subfolder }}_ubuntu-latest.txt'
diff --git a/Makefile b/Makefile
index 9d013627a..436cebeb7 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ mvn_cmd=mvn $(mvn_opts)
 build_chain_branch=$(shell git branch --show-current)
 
build_chain_file='https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/.ci/pull-request-config.yaml'
 build_chain_group='apache'
-build_chain_project='apache/incubator-kie-kogito-examples'
+build_chain_project='apache/incubator-kie-examples'
 
 default: help
 
@@ -21,7 +21,7 @@ build-quickly:
 .PHONY: build-upstream
 ## (build-chain) Build upstream projects from the same branch. If needed, you 
can modify the `build_chain_file`, `build_chain_group` and 
`build_chain_branch`. See `build_chain_file` for setting correct environment 
variables
 build-upstream: build-chain
-       build-chain build cross_pr -f ${build_chain_file} -o /tmp/bc -p 
${build_chain_project} -b ${build_chain_branch} -g ${build_chain_group} 
--skipParallelCheckout --skipProjectExecution 
apache/incubator-kie-kogito-examples --skipProjectCheckout 
apache/incubator-kie-kogito-examples
+       build-chain build cross_pr -f ${build_chain_file} -o /tmp/bc -p 
${build_chain_project} -b ${build_chain_branch} -g ${build_chain_group} 
--skipParallelCheckout --skipProjectExecution apache/incubator-kie-examples 
--skipProjectCheckout apache/incubator-kie-examples
 
 .PHONY: build-pr
 pr_link=
diff --git a/README.md b/README.md
index 243df8d1c..a34855a1a 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Apache KIE Examples
 
-This repository contains a number of examples for 
[Drools](https://github.com/apache/incubator-kie-drools), 
[jBPM](https://www.jbpm.org), and 
[Kogito](https://github.com/apache/incubator-kie-kogito-runtimes) that you can 
take a look at and try out yourself.  Please take a look at the readme of each 
individual example for more details on how the example works and how to run it 
yourself.
+This repository contains a number of examples for 
[Drools](https://github.com/apache/incubator-kie), 
[jBPM](https://www.jbpm.org), and 
[Kogito](https://github.com/apache/incubator-kie-kogito-runtimes) that you can 
take a look at and try out yourself.  Please take a look at the readme of each 
individual example for more details on how the example works and how to run it 
yourself.
 
 Apache KIE Examples showcase use cases, features, applications, know-how's of 
everything our community's technology has to offer.
 
@@ -21,36 +21,36 @@ If you want to use an alternative BOM when building the 
Apache KIE Quarkus quick
 ```
 mvn -Dquarkus.platform.artifact-id=quarkus-universe-bom clean install
 ```
-Currently, only [Drools](https://github.com/apache/incubator-kie-drools) is 
part of the Quarkus Platform.
+Currently, only [Drools](https://github.com/apache/incubator-kie) is part of 
the Quarkus Platform.
 > Note: Integration of Kogito are in progress.
 
 ## Getting started with the examples
 
 1. Clone this repository
 ```
-git clone [email protected]:apache/incubator-kie-kogito-examples.git
+git clone [email protected]:apache/incubator-kie-examples.git
 ```
 2. Navigate to the root of the example's directory
 ```
-cd 
./incubator-kie-kogito-examples/kogito-quarkus-examples/process-quarkus-example
+cd ./incubator-kie-examples/kogito-quarkus-examples/process-quarkus-example
 ```
 3. Open the README.md and follow its instructions
 
-> Found an issue? Please report it 
[here](https://github.com/apache/incubator-kie-kogito-examples/issues/new?template=bug_report.yml)
 and we will take a look.
+> Found an issue? Please report it 
[here](https://github.com/apache/incubator-kie-examples/issues/new?template=bug_report.yml)
 and we will take a look.
 
 ## Contribution
 
 Everyone is encouraged to contribute to these examples by:
 
 * trying it out and providing feedback and ideas for improvement
-* creating new examples by sending a 
[pull-request](https://github.com/apache/incubator-kie-kogito-examples/compare/main...main)
 against main branch
+* creating new examples by sending a 
[pull-request](https://github.com/apache/incubator-kie-examples/compare/main...main)
 against main branch
 * blogging about it
 * using it on conferences and workshops
 
 ## Getting Help
 ### Issues
 - Do you have a 
[reproducer](https://stackoverflow.com/help/minimal-reproducible-example) for 
your issue?
-  - If so, please open a new issue in 
[Github](https://github.com/apache/incubator-kie-kogito-examples/issues) 
repository with the details of your issue and affected example.
+  - If so, please open a new issue in 
[Github](https://github.com/apache/incubator-kie-examples/issues) repository 
with the details of your issue and affected example.
 - Are you encountering an issue but unsure of what is going on?
   - Start a new thread in our [Apache KIE Zulip 
chat](https://kie.zulipchat.com/). Please use the channel which the example is 
related to.
   - Please provide as much relevant information as you can as to what could be 
causing the issue and a reproducer. Our developers will help you figure out 
what's going wrong.
diff --git a/kogito-quarkus-examples/ocp-tryout/applicationImage.md 
b/kogito-quarkus-examples/ocp-tryout/applicationImage.md
index c7df34afd..ce169fbc8 100644
--- a/kogito-quarkus-examples/ocp-tryout/applicationImage.md
+++ b/kogito-quarkus-examples/ocp-tryout/applicationImage.md
@@ -1,7 +1,7 @@
 ## Prepare Kogito application image
 
 The Tryout process installs a container image, which must be accessible from 
an image repository. If such an image exists, this step can be skipped.
-Below steps show the process of building and uploading an image using the 
example of the [extended Kogito Travel 
Agency](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/kogito-quarkus-examples/kogito-travel-agency/extended/travels/)
 application:
+Below steps show the process of building and uploading an image using the 
example of the [extended Kogito Travel 
Agency](https://github.com/apache/incubator-kie-examples/tree/stable/kogito-quarkus-examples/kogito-travel-agency/extended/travels/)
 application:
 - cd into 
`kogito-examples/kogito-quarkus-examples/kogito-travel-agency/extended/travels`
 - build the application: `mvn clean package`
 - build the image: `docker build -f src/main/docker/Dockerfile.jvm -t 
quarkus/kogito-travel-agency-travels-jvm .`
diff --git 
a/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md 
b/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md
index b1049e144..97c3c589b 100644
--- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md
+++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md
@@ -3,7 +3,7 @@
 ## Description
 
 A quickstart project that deals with traveller processing carried by rules. It 
illustrates how easy it is to make the Kogito processes and rules to work with 
Knative Eventing. This project is based on
-the example [Process with 
Kafka](https://github.com/apache/incubator-kie-kogito-examples/tree/main/kogito-quarkus-examples/process-kafka-quickstart-quarkus).
+the example [Process with 
Kafka](https://github.com/apache/incubator-kie-examples/tree/main/kogito-quarkus-examples/process-kafka-quickstart-quarkus).
 
 This example shows
 
diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md 
b/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md
index ba6abf9e6..914196877 100644
--- a/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md
+++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md
@@ -5,7 +5,7 @@
 A quickstart project that processes users in the system. It's main purpose is 
to to call external REST service
 to load a given user by its username.
 
-There are two ways to invoke a rest web service in Kogito: programmatically, 
as shown in this other 
[example](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/kogito-quarkus-examples/process-service-calls-quarkus)
 or using RestWorkItemHandler, as in this example.
+There are two ways to invoke a rest web service in Kogito: programmatically, 
as shown in this other 
[example](https://github.com/apache/incubator-kie-examples/tree/stable/kogito-quarkus-examples/process-service-calls-quarkus)
 or using RestWorkItemHandler, as in this example.
 
 Note that in order to user a WorkItem in Kogito Editor, corresponding .wid 
file needs to located together with the bpmn file under the same directory
 
diff --git 
a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/JacksonHttpMessageConverterConfig.java
 
b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/JacksonHttpMessageConverterConfig.java
index aef01ae3a..ba0e3604b 100644
--- 
a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/JacksonHttpMessageConverterConfig.java
+++ 
b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/JacksonHttpMessageConverterConfig.java
@@ -29,7 +29,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
 // Jackson 2 HTTP converter for this module — it has no rule units, so the 
codegen-generated
 // RestObjectMapper that normally provides one is not produced here. canWrite 
refuses String so DMN
 // controllers' pre-serialized JSON passes through StringHttpMessageConverter. 
Remove together with
-// https://github.com/apache/incubator-kie-drools/issues/6702 (Jackson 3 
migration).
+// https://github.com/apache/incubator-kie/issues/6702 (Jackson 3 migration).
 @Configuration
 public class JacksonHttpMessageConverterConfig {
 
diff --git a/pom.xml b/pom.xml
index 6ef546c70..20fc816d7 100755
--- a/pom.xml
+++ b/pom.xml
@@ -54,9 +54,9 @@
   </licenses>
 
   <scm>
-    
<connection>scm:git:https://github.com/apache/incubator-kie-kogito-examples.git</connection>
-    
<developerConnection>scm:git:https://github.com/apache/incubator-kie-kogito-examples.git</developerConnection>
-    <url>https://github.com/apache/incubator-kie-kogito-examples</url>
+    
<connection>scm:git:https://github.com/apache/incubator-kie-examples.git</connection>
+    
<developerConnection>scm:git:https://github.com/apache/incubator-kie-examples.git</developerConnection>
+    <url>https://github.com/apache/incubator-kie-examples</url>
   </scm>
 
   <developers>


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

Reply via email to