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

eduardocerqueira pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new cf83a8c6168 Jenkins Pipelines - merging jbpm-quarkus-devui and 
sonataflow-quarkus-devui as both has the same output artifact
     new 234fb9cead9 Merge remote-tracking branch 
'refs/remotes/upstream/10.1.x' into 10.1.x
cf83a8c6168 is described below

commit cf83a8c616857dd518fd0511b02abccc0454b724
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Fri Jun 13 09:33:02 2025 -0400

    Jenkins Pipelines
    - merging jbpm-quarkus-devui and sonataflow-quarkus-devui as both has the 
same output artifact
---
 .../release-jobs/Jenkinsfile.jbpm-quarkus-devui    | 147 ---------------------
 ...i => Jenkinsfile.jbpm-sonataflow-quarkus-devui} |  10 +-
 2 files changed, 5 insertions(+), 152 deletions(-)

diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-quarkus-devui 
b/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-quarkus-devui
deleted file mode 100644
index bf39b8a5a11..00000000000
--- a/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-quarkus-devui
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * 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.
- */
-pipeline {
-    agent {
-        docker {
-            image 'docker.io/apache/incubator-kie-tools-ci-build:10.1.999'
-            args '--shm-size=2g --privileged --group-add docker'
-        }
-    }
-
-    options {
-        timeout(time: 180, unit: 'MINUTES')
-    }
-
-    parameters {
-        booleanParam(description: 'Dry run', name: 'DRY_RUN', defaultValue: 
true)
-        string(description: 'Release Version', name: 'RELEASE_VERSION', 
defaultValue: '0.0.0')
-        string(description: 'Base Ref', name: 'BASE_REF')
-        string(description: 'Release Candidate Version', name: 
'RELEASE_CANDIDATE_VERSION', defaultValue: '')
-        string(name: 'PIPELINE_PATH', description: 'Path to run the pipeline')
-    }
-
-    environment {
-        KIE_TOOLS_BUILD__runLinters = 'false'
-        KIE_TOOLS_BUILD__runTests = 'false'
-        KIE_TOOLS_BUILD__runEndToEndTests = 'false'
-
-        DOCKER_CONFIG = "${WORKSPACE}/.docker"
-        PNPM_FILTER_STRING = '-F jbpm-quarkus-devui...'
-        MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml 
-Dmaven.repo.local=${WORKSPACE}/.maven"
-    }
-
-    stages {
-        stage('Load local shared scripts') {
-            steps {
-                script {
-                    pipelineVars = load 
'.ci/jenkins/shared-scripts/pipelineVars.groovy'
-                    buildUtils = load 
'.ci/jenkins/shared-scripts/buildUtils.groovy'
-                    githubUtils = load 
'.ci/jenkins/shared-scripts/githubUtils.groovy'
-                    releaseUtils = load 
'.ci/jenkins/shared-scripts/releaseUtils.groovy'
-                }
-            }
-        }
-
-        stage('Start required services for build and tests (DinD, Xvfb, 
Fluxbox)') {
-            steps {
-                script {
-                    buildUtils.startRequiredServices()
-                }
-            }
-        }
-
-        stage('Clean workspace before build') {
-            steps {
-                cleanWs(deleteDirs: true, disableDeferredWipeout: true)
-            }
-        }
-
-        stage('Checkout kie-tools') {
-            steps {
-                dir('kie-tools') {
-                    script {
-                        githubUtils.checkoutRepo(
-                            
"http://github.com/${pipelineVars.githubRepositorySlug}.git";,
-                            "${params.BASE_REF}",
-                            "${pipelineVars.kieToolsBotGithubCredentialsId}"
-                        )
-                    }
-                }
-            }
-        }
-
-        stage('Setup PNPM') {
-            steps {
-                dir('kie-tools') {
-                    script {
-                        
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
-                    }
-                }
-            }
-        }
-
-        stage('PNPM Bootstrap') {
-            steps {
-                dir('kie-tools') {
-                    script {
-                        buildUtils.pnpmBootstrap(env.PNPM_FILTER_STRING, 
env.MAVEN_ARGS)
-                    }
-                }
-            }
-        }
-
-        stage('Setup signing key') {
-            when {
-                expression { !params.DRY_RUN && 
params.RELEASE_CANDIDATE_VERSION != '' }
-            }
-            steps {
-                script {
-                    
releaseUtils.setupSigningKey("${pipelineVars.asfReleaseGPGKeyCredentialsId}")
-                }
-            }
-        }
-
-        stage('Update project, kogito and stream name version') {
-            steps {
-                dir('kie-tools') {
-                    script {
-                        
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
-                        
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION, 
params.RELEASE_VERSION, env.MAVEN_ARGS)
-                        
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
-                    }
-                }
-            }
-        }
-
-        stage('Build and Deploy') {
-            steps {
-                dir('kie-tools') {
-                    script {
-                        env.KIE_TOOLS_BUILD__mavenDeploySkip = params.DRY_RUN 
? 'true' : 'false'
-                        buildUtils.pnpmBuild(env.PNPM_FILTER_STRING, 
env.MAVEN_ARGS)                        
-                    }
-                }
-            }
-        }
-    }
-
-    post {
-        always {
-            cleanWs(deleteDirs: true)
-        }
-    }
-}
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-quarkus-devui 
b/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-sonataflow-quarkus-devui
similarity index 91%
rename from .ci/jenkins/release-jobs/Jenkinsfile.sonataflow-quarkus-devui
rename to .ci/jenkins/release-jobs/Jenkinsfile.jbpm-sonataflow-quarkus-devui
index 50534bda2b1..df1acf3619c 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-quarkus-devui
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-sonataflow-quarkus-devui
@@ -27,10 +27,10 @@ pipeline {
     }
 
     parameters {
-        booleanParam(description: 'Dry run', name: 'DRY_RUN', defaultValue: 
true)
-        string(description: 'Release Version', name: 'RELEASE_VERSION', 
defaultValue: '0.0.0')
-        string(description: 'Base Ref', name: 'BASE_REF')
-        string(description: 'Release Candidate Version', name: 
'RELEASE_CANDIDATE_VERSION', defaultValue: '')
+        booleanParam(name: 'DRY_RUN', description: 'Dry run', defaultValue: 
true)
+        string(name: 'RELEASE_VERSION', description: 'Release Version', 
defaultValue: '0.0.0')
+        string(name: 'BASE_REF', description: 'GitHub Base Ref (tag or 
branch)')
+        string(name: 'RELEASE_CANDIDATE_VERSION', description: 'Release 
Candidate Version', defaultValue: '')
         string(name: 'PIPELINE_PATH', description: 'Path to run the pipeline')
     }
 
@@ -40,7 +40,7 @@ pipeline {
         KIE_TOOLS_BUILD__runEndToEndTests = 'false'
 
         DOCKER_CONFIG = "${WORKSPACE}/.docker"
-        PNPM_FILTER_STRING = '-F sonataflow-quarkus-devui...'
+        PNPM_FILTER_STRING = '-F sonataflow-quarkus-devui... -F 
jbpm-quarkus-devui...'
         MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml 
-Dmaven.repo.local=${WORKSPACE}/.maven"
     }
 


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

Reply via email to