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

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


The following commit(s) were added to refs/heads/main by this push:
     new e2962d2f5 kie-issues#574 Initial ASF Jenkins CI Setup (#1882)
e2962d2f5 is described below

commit e2962d2f5f01606e847a758e391deac902342288
Author: Jan Stastny <[email protected]>
AuthorDate: Tue Sep 19 20:22:15 2023 +0200

    kie-issues#574 Initial ASF Jenkins CI Setup (#1882)
    
    Prepare for Apache migration
    
    deactivate PR checks
    
    Prepare for Apache migration
    
    update
    
    Remove PR job
    
    [apache_migration] Apache migration update (#1876)
    
    * Setup Jenkinsfile
    
    * update pipelines
    
    Fix CI
    
    PR multibranchPipelineJob (#1879)
    
    Co-authored-by: jstastny-cz <[email protected]>
    
    Update `kiegroup` repository references to `apache` (#1877)
    
    Co-authored-by: radtriste <[email protected]>
---
 .ci/environments/common/update_quarkus.sh          |  2 +-
 .ci/environments/update.sh                         |  2 +-
 .ci/jenkins/Jenkinsfile                            | 41 ++++++++++++++++++
 .ci/jenkins/Jenkinsfile.deploy                     | 26 +++---------
 .ci/jenkins/Jenkinsfile.optaplanner                | 24 +++++------
 .ci/jenkins/Jenkinsfile.promote                    |  7 ++--
 .ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr       | 13 +++---
 .../Jenkinsfile.quarkus-3.rewrite.standalone       | 12 +++---
 .ci/jenkins/Jenkinsfile.setup-branch               | 23 +++-------
 .ci/jenkins/dsl/jobs.groovy                        | 49 +++++++++-------------
 .ci/jenkins/dsl/test.sh                            |  2 +-
 .github/pull_request_template.md                   |  2 +-
 .github/workflows/pr-downstream.yml                | 10 ++---
 .github/workflows/pr-jenkins.yml                   |  6 +--
 .github/workflows/pr-kogito-apps.yml               |  2 +-
 15 files changed, 112 insertions(+), 109 deletions(-)

diff --git a/.ci/environments/common/update_quarkus.sh 
b/.ci/environments/common/update_quarkus.sh
index eea7aac74..829c57b81 100755
--- a/.ci/environments/common/update_quarkus.sh
+++ b/.ci/environments/common/update_quarkus.sh
@@ -3,7 +3,7 @@ set -euo pipefail
 
 mvn_cmd="mvn ${BUILD_MVN_OPTS:-} ${BUILD_MVN_OPTS_QUARKUS_UPDATE:-}"
 
-source <(curl -s 
https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/install_quarkus.sh)
+source <(curl -s 
https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/install_quarkus.sh)
 
 echo "Update project with Quarkus version ${QUARKUS_VERSION}"
 
diff --git a/.ci/environments/update.sh b/.ci/environments/update.sh
index 80abdd711..5c8416d88 100755
--- a/.ci/environments/update.sh
+++ b/.ci/environments/update.sh
@@ -44,4 +44,4 @@ if [ -f "${env_path}/after.sh" ]; then
 fi
 
 # Download `setup_integration_branch` script and execute
-curl -s 
https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/setup_integration_branch.sh
 | bash
\ No newline at end of file
+curl -s 
https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/setup_integration_branch.sh
 | bash
\ No newline at end of file
diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
new file mode 100644
index 000000000..f701a54dd
--- /dev/null
+++ b/.ci/jenkins/Jenkinsfile
@@ -0,0 +1,41 @@
+@Library('jenkins-pipeline-shared-libraries')_
+
+pr_check_script = null
+
+pipeline {
+    agent {
+        label 'ubuntu'
+    }
+    options {
+        timestamps()
+        timeout(time: 360, unit: 'MINUTES')
+    }
+    environment {
+        BUILDCHAIN_PROJECT = 'apache/incubator-kie-kogito-apps'
+
+        ENABLE_SONARCLOUD = 'true'
+        KOGITO_APPS_BUILD_MVN_OPTS = '-Dvalidate-formatting 
-Prun-code-coverage'
+    }
+    stages {
+        stage('Initialize') {
+            steps {
+                script {
+                    // load `pr_check.groovy` file from kogito-pipelines:main
+                    dir('kogito-pipelines') {
+                        
checkout(githubscm.resolveRepository('incubator-kie-kogito-pipelines', 
'apache', 'main', false, 'ASF_Cloudbees_Jenkins_ci-builds'))
+                        pr_check_script = load 'dsl/scripts/pr_check.groovy'
+                    }
+                }
+            }
+        }
+        stage('PR check') {
+            steps {
+                script {
+                    dir('kogito-pipelines') {
+                        pr_check_script.launch()
+                    }
+                }
+            }
+        }
+    }
+}
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index 3ec158f6f..b93aa49cc 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -8,12 +8,10 @@ deployProperties = [:]
 
 pipeline {
     agent {
-        label 'kie-rhel8 && docker && kie-mem16g && !built-in'
-    }
-
-    tools {
-        maven env.BUILD_MAVEN_TOOL
-        jdk env.BUILD_JDK_TOOL
+        docker { 
+            image env.AGENT_DOCKER_BUILDER_IMAGE
+            args env.AGENT_DOCKER_BUILDER_ARGS
+        }
     }
 
     options {
@@ -30,12 +28,8 @@ pipeline {
 
         KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")
 
-        // Keep here for visitibility
-        MAVEN_OPTS = '-Xms1024m -Xmx4g'
-        NODE_OPTIONS = '--max_old_space_size=4096'
-
         PR_BRANCH_HASH = "${util.generateHash(10)}"
-        MAVEN_DEPLOY_LOCAL_DIR = "${WORKSPACE}/maven_deploy_dir"
+        MAVEN_DEPLOY_LOCAL_DIR = "/tmp/maven_deploy_dir"
     }
 
     stages {
@@ -61,8 +55,6 @@ pipeline {
                     dir(getRepoName()) {
                         checkoutRepo()
                     }
-
-                    setupCypressEnv('12.17.0')
                 }
             }
             post {
@@ -190,12 +182,6 @@ pipeline {
     }
 }
 
-void setupCypressEnv(String cypressVersion) {
-    if (env.CYPRESS_BINARY_URL) {
-        env.CYPRESS_INSTALL_BINARY = 
"${CYPRESS_BINARY_URL}/cypress-${cypressVersion}.zip"
-    }
-}
-
 void sendNotification() {
     if (params.SEND_NOTIFICATION) {
         mailer.sendMarkdownTestSummaryNotification('Deploy', 
"[${getBuildBranch()}] Kogito Apps", [env.KOGITO_CI_EMAIL_TO])
@@ -239,7 +225,7 @@ boolean shouldStageArtifacts() {
 }
 
 boolean shouldDeployToRepository() {
-    return env.MAVEN_DEPLOY_REPOSITORY && env.MAVEN_REPO_CREDS_ID && 
getGitAuthor() == 'kiegroup'
+    return env.MAVEN_DEPLOY_REPOSITORY && env.MAVEN_REPO_CREDS_ID && 
getGitAuthor() == 'apache'
 }
 
 boolean isRelease() {
diff --git a/.ci/jenkins/Jenkinsfile.optaplanner 
b/.ci/jenkins/Jenkinsfile.optaplanner
index 51e214704..5d365c30a 100644
--- a/.ci/jenkins/Jenkinsfile.optaplanner
+++ b/.ci/jenkins/Jenkinsfile.optaplanner
@@ -2,18 +2,17 @@
 
 import org.kie.jenkins.MavenCommand
 
-droolsRepo = 'drools'
-optaplannerRepo = 'optaplanner'
-kogitoRuntimesRepo = 'kogito-runtimes'
-kogitoAppsRepo = 'kogito-apps'
+droolsRepo = 'incubator-kie-drools'
+optaplannerRepo = 'incubator-kie-optaplanner'
+kogitoRuntimesRepo = 'incubator-kie-kogito-runtimes'
+kogitoAppsRepo = 'incubator-kie-kogito-apps'
 
 pipeline {
     agent {
-        label 'kie-rhel8 && docker && kie-mem16g'
-    }
-    tools {
-        maven env.BUILD_MAVEN_TOOL
-        jdk env.BUILD_JDK_TOOL
+        docker { 
+            image env.AGENT_DOCKER_BUILDER_IMAGE
+            args env.AGENT_DOCKER_BUILDER_ARGS
+        }
     }
     options {
         timestamps()
@@ -21,7 +20,6 @@ pipeline {
     }
     environment {
         KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")
-        MAVEN_OPTS = '-Xms1024m -Xmx6g'
     }
     stages {
         stage('Initialize') {
@@ -84,7 +82,7 @@ pipeline {
                         .withProperty('skipUI')
                         .withProperty('maven.test.failure.ignore', true)
                         .withProperty('version.org.optaplanner', 
env.OPTAPLANNER_VERSION)
-                        .withProperty('optaplanner') // Use specific profile 
https://github.com/kiegroup/kogito-apps/blob/48a5c8f9a905a2c17b9d0e01cee744902a4824f0/pom.xml#L63
+                        .withProperty('optaplanner') // Use specific profile 
https://github.com/apache/incubator-kie-kogito-apps/blob/48a5c8f9a905a2c17b9d0e01cee744902a4824f0/pom.xml#L63
                         .run('clean install')
                 }
             }
@@ -134,7 +132,7 @@ void checkoutDroolsRepo() {
 
 void checkoutOptaplannerRepo() {
     dir(optaplannerRepo) {
-        checkout(githubscm.resolveRepository(optaplannerRepo, 'kiegroup', 
getOptaPlannerBranch(), false))
+        checkout(githubscm.resolveRepository(optaplannerRepo, 'apache', 
getOptaPlannerBranch(), false))
     }
 }
 
@@ -169,7 +167,7 @@ String getOptaPlannerBranch() {
 
 MavenCommand getMavenCommand(String directory) {
     return new MavenCommand(this, ['-fae', '-ntp'])
-                .withSettingsXmlId('kogito_release_settings')
+                .withSettingsXmlId('kie-release-settings')
                 .withProperty('java.net.preferIPv4Stack', true)
                 .withOptions(env.BUILD_MVN_OPTS ? [ env.BUILD_MVN_OPTS ] : [])
                 .inDirectory(directory)
diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote
index 9fab40bf9..aee9f51c0 100644
--- a/.ci/jenkins/Jenkinsfile.promote
+++ b/.ci/jenkins/Jenkinsfile.promote
@@ -6,7 +6,10 @@ pipelineProperties = [:]
 
 pipeline {
     agent {
-        label 'rhel8 && !built-in'
+        docker { 
+            image env.AGENT_DOCKER_BUILDER_IMAGE
+            args env.AGENT_DOCKER_BUILDER_ARGS
+        }
     }
 
     options {
@@ -16,8 +19,6 @@ pipeline {
 
     environment {
         KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")
-
-        NODE_OPTIONS = '--max_old_space_size=4096'
     }
 
     stages {
diff --git a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr 
b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr
index 1f8920ee7..e379b3cc9 100644
--- a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr
+++ b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr
@@ -8,11 +8,10 @@ changeTarget = env.ghprbTargetBranch ?: CHANGE_TARGET
 
 pipeline {
     agent {
-        label 'kie-rhel8 && kie-mem16g && !built-in'
-    }
-    tools {
-        maven env.BUILD_MAVEN_TOOL
-        jdk env.BUILD_JDK_TOOL
+        docker { 
+            image env.AGENT_DOCKER_BUILDER_IMAGE
+            args env.AGENT_DOCKER_BUILDER_ARGS
+        }
     }
     options {
         timestamps()
@@ -38,9 +37,9 @@ pipeline {
         stage('Build upstream projects') {
             steps {
                 script {
-                    [ 'drools', 'kogito-runtimes' ].each { project -> 
+                    [ 'incubator-kie-drools', 'incubator-kie-kogito-runtimes' 
].each { project -> 
                         dir(project) {
-                            githubscm.checkoutIfExists(project, changeAuthor, 
changeBranch, 'kiegroup', changeTarget, true)
+                            githubscm.checkoutIfExists(project, changeAuthor, 
changeBranch, 'apache', changeTarget, true)
                             sh '.ci/environments/update.sh quarkus-3'
                             
getMavenCommand().withProperty('quickly').run('clean install')
                         }
diff --git a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone 
b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone
index 18fb14c6f..37cea8767 100644
--- a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone
+++ b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone
@@ -7,12 +7,10 @@ previousHash = ''
 
 pipeline {
     agent {
-        label 'kie-rhel8 && kie-mem16g && !built-in'
-    }
-
-    tools {
-        maven env.BUILD_MAVEN_TOOL
-        jdk env.BUILD_JDK_TOOL
+        docker { 
+            image env.AGENT_DOCKER_BUILDER_IMAGE
+            args env.AGENT_DOCKER_BUILDER_ARGS
+        }
     }
 
     options {
@@ -57,7 +55,7 @@ pipeline {
         stage('Build upstream projects') {
             steps {
                 script {
-                    [ 'drools', 'kogito-runtimes' ].each { project -> 
+                    [ 'incubator-kie-drools', 'incubator-kie-kogito-runtimes' 
].each { project -> 
                         dir(project) {
                             githubscm.checkoutIfExists(project, 
getGitAuthor(), getBuildBranch(), getBaseAuthor(), getBaseBranch(), true)
                             sh '.ci/environments/update.sh quarkus-3'
diff --git a/.ci/jenkins/Jenkinsfile.setup-branch 
b/.ci/jenkins/Jenkinsfile.setup-branch
index 65c1f0260..b0d774401 100644
--- a/.ci/jenkins/Jenkinsfile.setup-branch
+++ b/.ci/jenkins/Jenkinsfile.setup-branch
@@ -3,17 +3,15 @@ import org.jenkinsci.plugins.workflow.libs.Library
 
 import org.kie.jenkins.MavenCommand
 
-droolsRepo = 'drools'
-kogitoRuntimesRepo = 'kogito-runtimes'
+droolsRepo = 'incubator-kie-drools'
+kogitoRuntimesRepo = 'incubator-kie-kogito-runtimes'
 
 pipeline {
     agent {
-        label 'kie-rhel8 && !built-in'
-    }
-
-    tools {
-        maven env.BUILD_MAVEN_TOOL
-        jdk env.BUILD_JDK_TOOL
+        docker { 
+            image env.AGENT_DOCKER_BUILDER_IMAGE
+            args env.AGENT_DOCKER_BUILDER_ARGS
+        }
     }
 
     options {
@@ -21,17 +19,8 @@ pipeline {
         timeout(time: 60, unit: 'MINUTES')
     }
 
-    // parameters {
-    // For parameters, check into ./dsl/jobs.groovy file
-    // }
-
     environment {
-        // Static env is defined into ./dsl/jobs.groovy file
-
         KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")
-
-        // Keep here for visitibility
-        MAVEN_OPTS = '-Xms1024m -Xmx4g'
     }
 
     stages {
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index 62a9df76a..010fdac41 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -2,10 +2,10 @@
 * This file is describing all the Jenkins jobs in the DSL format (see 
https://plugins.jenkins.io/job-dsl/)
 * needed by the Kogito pipelines.
 *
-* The main part of Jenkins job generation is defined into the 
https://github.com/kiegroup/kogito-pipelines repository.
+* The main part of Jenkins job generation is defined into the 
https://github.com/apache/incubator-kie-kogito-pipelines repository.
 *
 * This file is making use of shared libraries defined in
-* 
https://github.com/kiegroup/kogito-pipelines/tree/main/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl.
+* 
https://github.com/apache/incubator-kie-kogito-pipelines/tree/main/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl.
 */
 
 import org.kie.jenkins.jobdsl.model.JenkinsFolder
@@ -33,7 +33,6 @@ Map getMultijobPRConfig(JenkinsFolder jobFolder) {
                 id: 'kogito-apps',
                 primary: true,
                 env : [
-                    NODE_OPTIONS: '--max_old_space_size=4096',
                     // Sonarcloud analysis only on main branch
                     // As we have only Community edition
                     ENABLE_SONARCLOUD: EnvUtils.isDefaultEnvironment(this, 
jobFolder.getEnvironmentName()) && Utils.isMainBranch(this),
@@ -41,27 +40,27 @@ Map getMultijobPRConfig(JenkinsFolder jobFolder) {
                 ]
             ], [
                 id: 'kogito-quarkus-examples',
-                repository: 'kogito-examples',
+                repository: 'incubator-kie-kogito-examples',
                 dependsOn: 'kogito-apps',
                 env : [
                     KOGITO_EXAMPLES_SUBFOLDER_POM: 'kogito-quarkus-examples/',
-                    BUILD_MVN_OPTS_CURRENT: "${defaultBuildMvnOptsCurrent} 
${isProdEnv(jobFolder) ? '' : (isNative(jobFolder) ? 
'-Pkogito-apps-downstream-native' : '-Pkogito-apps-downstream')}"
+                    BUILD_MVN_OPTS_CURRENT: "${defaultBuildMvnOptsCurrent} 
${isNative(jobFolder) ? '-Pkogito-apps-downstream-native' : 
'-Pkogito-apps-downstream'}"
                 ],
             ], [
                 id: 'kogito-springboot-examples',
-                repository: 'kogito-examples',
+                repository: 'incubator-kie-kogito-examples',
                 dependsOn: 'kogito-apps',
                 env : [
                     KOGITO_EXAMPLES_SUBFOLDER_POM: 
'kogito-springboot-examples/',
-                    BUILD_MVN_OPTS_CURRENT: "${defaultBuildMvnOptsCurrent} 
${isProdEnv(jobFolder) ? '' : (isNative(jobFolder) ? 
'-Pkogito-apps-downstream-native' : '-Pkogito-apps-downstream')}"
+                    BUILD_MVN_OPTS_CURRENT: "${defaultBuildMvnOptsCurrent} 
${isNative(jobFolder) ? '-Pkogito-apps-downstream-native' : 
'-Pkogito-apps-downstream'}"
                 ],
             ], [
                 id: 'serverless-workflow-examples',
-                repository: 'kogito-examples',
+                repository: 'incubator-kie-kogito-examples',
                 dependsOn: 'kogito-apps',
                 env : [
                     KOGITO_EXAMPLES_SUBFOLDER_POM: 
'serverless-workflow-examples/',
-                    BUILD_MVN_OPTS_CURRENT: "${defaultBuildMvnOptsCurrent} 
${isProdEnv(jobFolder) ? '' : (isNative(jobFolder) ? 
'-Pkogito-apps-downstream-native' : '-Pkogito-apps-downstream')}"
+                    BUILD_MVN_OPTS_CURRENT: "${defaultBuildMvnOptsCurrent} 
${isNative(jobFolder) ? '-Pkogito-apps-downstream-native' : 
'-Pkogito-apps-downstream'}"
                 ],
             ]
         ]
@@ -84,34 +83,25 @@ List getAppsBuildMvnOptions(JenkinsFolder jobFolder) {
     return mvnOpts
 }
 
-boolean isProdEnv(JenkinsFolder jobFolder) {
-    return EnvUtils.hasEnvironmentId(this, jobFolder.getEnvironmentName(), 
'prod')
-}
-
 boolean isNative(JenkinsFolder jobFolder) {
     return EnvUtils.hasEnvironmentId(this, jobFolder.getEnvironmentName(), 
'native')
 }
 
 // PR checks
-KogitoJobUtils.createAllEnvironmentsPerRepoPRJobs(this) { jobFolder -> 
getMultijobPRConfig(jobFolder) }
+Utils.isMainBranch(this) && 
KogitoJobTemplate.createPullRequestMultibranchPipelineJob(this, 
"${jenkins_path}/Jenkinsfile")
 
 // Init branch
 createSetupBranchJob()
 
 // Nightly jobs
-Closure addNodeOptionsEnvJobParamsGetter = { script ->
-    def jobParams = JobParamsUtils.DEFAULT_PARAMS_GETTER(script)
-    jobParams.env.put('NODE_OPTIONS', '--max_old_space_size=4096')
-    return jobParams
-}
 Closure setup4AMCronTriggerJobParamsGetter = { script ->
-    def jobParams = addNodeOptionsEnvJobParamsGetter(script)
+    def jobParams = JobParamsUtils.DEFAULT_PARAMS_GETTER(script)
     jobParams.triggers = [ cron: 'H 4 * * *' ]
     return jobParams
 }
 
-Closure nightlyJobParamsGetter = isMainStream() ? 
addNodeOptionsEnvJobParamsGetter : setup4AMCronTriggerJobParamsGetter
-KogitoJobUtils.createNightlyBuildChainBuildAndDeployJobForCurrentRepo(this, 
'', true, addNodeOptionsEnvJobParamsGetter)
+Closure nightlyJobParamsGetter = isMainStream() ? 
JobParamsUtils.DEFAULT_PARAMS_GETTER : setup4AMCronTriggerJobParamsGetter
+KogitoJobUtils.createNightlyBuildChainBuildAndDeployJobForCurrentRepo(this, 
'', true)
 setupSpecificBuildChainNightlyJob('sonarcloud', nightlyJobParamsGetter)
 setupSpecificBuildChainNightlyJob('native', nightlyJobParamsGetter)
 setupNightlyQuarkusIntegrationJob('quarkus-main', nightlyJobParamsGetter)
@@ -131,7 +121,8 @@ if (isMainStream()) {
     ])
     // Quarkus 3
     if (EnvUtils.isEnvironmentEnabled(this, 'quarkus-3')) {
-        setupPrQuarkus3RewriteJob()
+        // TODO create PR job with branch source plugin. how to ?
+        // setupPrQuarkus3RewriteJob() // Deactivated due to ghprb not 
available on Apache Jenkins
         setupStandaloneQuarkus3RewriteJob()
     }
 }
@@ -154,7 +145,7 @@ void setupSpecificBuildChainNightlyJob(String envName, 
Closure defaultJobParamsG
 
 void setupOptaplannerJob(String optaplannerBranch) {
     def jobParams = JobParamsUtils.getBasicJobParamsWithEnv(this, 
'kogito-apps-optaplanner-snapshot', JobType.NIGHTLY, 'ecosystem', 
"${jenkins_path}/Jenkinsfile.optaplanner", 'Kogito Apps Testing against 
Optaplanner snapshot')
-    JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+    JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, 
jobParams)
     jobParams.triggers = [ cron : 'H 6 * * *' ]
     jobParams.env.putAll([
         JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
@@ -172,7 +163,7 @@ void setupOptaplannerJob(String optaplannerBranch) {
 
 void createSetupBranchJob() {
     def jobParams = JobParamsUtils.getBasicJobParams(this, 'kogito-apps', 
JobType.SETUP_BRANCH, "${jenkins_path}/Jenkinsfile.setup-branch", 'Kogito Apps 
Init branch')
-    JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+    JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, 
jobParams)
     jobParams.env.putAll([
         JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
 
@@ -198,7 +189,7 @@ void createSetupBranchJob() {
 
 void setupReleaseDeployJob() {
     def jobParams = JobParamsUtils.getBasicJobParams(this, 
'kogito-apps-deploy', JobType.RELEASE, "${jenkins_path}/Jenkinsfile.deploy", 
'Kogito Apps Deploy')
-    JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+    JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, 
jobParams)
     jobParams.env.putAll([
         JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
         GIT_AUTHOR: "${GIT_AUTHOR_NAME}",
@@ -235,7 +226,7 @@ void setupReleaseDeployJob() {
 
 void setupReleasePromoteJob() {
     def jobParams = JobParamsUtils.getBasicJobParams(this, 
'kogito-apps-promote', JobType.RELEASE, "${jenkins_path}/Jenkinsfile.promote", 
'Kogito Apps Promote')
-    JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+    JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, 
jobParams)
     jobParams.env.putAll([
         PROPERTIES_FILE_NAME: 'deployment.properties',
 
@@ -270,7 +261,7 @@ void setupReleasePromoteJob() {
 
 void setupPrQuarkus3RewriteJob() {
     def jobParams = JobParamsUtils.getBasicJobParamsWithEnv(this, 
'kogito-apps.rewrite', JobType.PULL_REQUEST, 'quarkus-3', 
"${jenkins_path}/Jenkinsfile.quarkus-3.rewrite.pr", 'Kogito Apps Quarkus 3 
rewrite patch regeneration')
-    JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+    JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, 
jobParams)
     jobParams.jenkinsfile = "${jenkins_path}/Jenkinsfile.quarkus-3.rewrite.pr"
     jobParams.pr.putAll([
         run_only_for_branches: [ "${GIT_BRANCH}" ],
@@ -290,7 +281,7 @@ void setupPrQuarkus3RewriteJob() {
 void setupStandaloneQuarkus3RewriteJob() {
     def jobParams = JobParamsUtils.getBasicJobParams(this, 
'kogito-apps.quarkus-3.rewrite', JobType.TOOLS, 
"${jenkins_path}/Jenkinsfile.quarkus-3.rewrite.standalone", 'Kogito Apps 
Quarkus 3 rewrite patch regeneration')
     jobParams.env.putAll(EnvUtils.getEnvironmentEnvVars(this, 'quarkus-3'))
-    JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+    JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, 
jobParams)
     jobParams.env.putAll([
         AUTHOR_CREDS_ID: "${GIT_AUTHOR_CREDENTIALS_ID}",
         JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
diff --git a/.ci/jenkins/dsl/test.sh b/.ci/jenkins/dsl/test.sh
index ad8af34ac..2d518eb9f 100755
--- a/.ci/jenkins/dsl/test.sh
+++ b/.ci/jenkins/dsl/test.sh
@@ -1,6 +1,6 @@
 #!/bin/bash -e
 file=$(mktemp)
 # For more usage of the script, use ./test.sh -h
-curl -o ${file} 
https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/seed_test.sh
+curl -o ${file} 
https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/seed_test.sh
 chmod u+x ${file}
 ${file} $@
\ No newline at end of file
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index b85de6c41..1836c3c86 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -2,7 +2,7 @@ Many thanks for submitting your Pull Request :heart:!
 
 Please make sure that your PR meets the following requirements:
 
-- [ ] You have read the [contributors 
guide](https://github.com/kiegroup/kogito-runtimes#contributing-to-kogito)
+- [ ] You have read the [contributors 
guide](https://github.com/apache/incubator-kie-kogito-runtimes#contributing-to-kogito)
 - [ ] Pull Request title is properly formatted: `KOGITO-XYZ Subject`
 - [ ] Pull Request title contains the target branch if not targeting main: 
`[0.9.x] KOGITO-XYZ Subject`
 - [ ] Pull Request contains link to the JIRA issue
diff --git a/.github/workflows/pr-downstream.yml 
b/.github/workflows/pr-downstream.yml
index 04a3074a3..b8dbdb642 100644
--- a/.github/workflows/pr-downstream.yml
+++ b/.github/workflows/pr-downstream.yml
@@ -26,13 +26,13 @@ jobs:
         maven-version: ['3.8.7']
         include:
           - job_name: kogito-quarkus-examples
-            repository: kogito-examples
+            repository: incubator-kie-kogito-examples
             env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-quarkus-examples/
           - job_name: kogito-springboot-examples
-            repository: kogito-examples
+            repository: incubator-kie-kogito-examples
             env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-springboot-examples/
           - job_name: serverless-workflow-examples
-            repository: kogito-examples
+            repository: incubator-kie-kogito-examples
             env_KOGITO_EXAMPLES_SUBFOLDER_POM: serverless-workflow-examples/
       fail-fast: false
     runs-on: ${{ matrix.os }}
@@ -53,9 +53,9 @@ jobs:
       - name: Build Chain
         uses: kiegroup/kie-ci/.ci/actions/build-chain@main
         with:
-          definition-file: 
https://raw.githubusercontent.com/${GROUP:kiegroup}/kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
+          definition-file: 
https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
           annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ 
matrix.maven-version }}
-          starting-project: kiegroup/${{ matrix.repository }}
+          starting-project: apache/${{ matrix.repository }}
           github-token: "${{ secrets.GITHUB_TOKEN }}"
         env: 
           KOGITO_EXAMPLES_SUBFOLDER_POM: ${{ 
matrix.env_KOGITO_EXAMPLES_SUBFOLDER_POM }}
diff --git a/.github/workflows/pr-jenkins.yml b/.github/workflows/pr-jenkins.yml
index f0ca27557..38e94922c 100644
--- a/.github/workflows/pr-jenkins.yml
+++ b/.github/workflows/pr-jenkins.yml
@@ -16,8 +16,8 @@ jobs:
     name: DSL
     steps:
     - name: DSL tests
-      uses: kiegroup/kie-ci/.ci/actions/dsl-tests@main
+      uses: apache/incubator-kie-kie-ci/.ci/actions/dsl-tests@main
       with:
-        main-config-file-repo: kiegroup/kogito-pipelines
+        main-config-file-repo: apache/incubator-kie-kogito-pipelines
         main-config-file-path: .ci/jenkins/config/main.yaml
-        branch-config-file-repo: kiegroup/kogito-pipelines
+        branch-config-file-repo: apache/incubator-kie-kogito-pipelines
diff --git a/.github/workflows/pr-kogito-apps.yml 
b/.github/workflows/pr-kogito-apps.yml
index 1b7051a65..ce296eeb0 100644
--- a/.github/workflows/pr-kogito-apps.yml
+++ b/.github/workflows/pr-kogito-apps.yml
@@ -44,7 +44,7 @@ jobs:
         env:
           NODE_OPTIONS: "--max_old_space_size=4096"
         with:
-          definition-file: 
https://raw.githubusercontent.com/${GROUP:kiegroup}/kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
+          definition-file: 
https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
           annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ 
matrix.maven-version }}
           github-token: "${{ secrets.GITHUB_TOKEN }}"
       - name: Surefire Report


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

Reply via email to