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


The following commit(s) were added to refs/heads/main by this push:
     new 51407ee45a2 NO-ISSUE:  Fix for daily-dev Jenkins CI failing to build 
due to missing git config and hard-linked files (#2861)
51407ee45a2 is described below

commit 51407ee45a28ef1637a344bde59fa3a395499c9d
Author: Thiago Lugli <[email protected]>
AuthorDate: Mon Jan 20 12:40:47 2025 -0300

    NO-ISSUE:  Fix for daily-dev Jenkins CI failing to build due to missing git 
config and hard-linked files (#2861)
---
 .ci/jenkins/Jenkinsfile.daily-dev-publish          |  32 +---
 .ci/jenkins/Jenkinsfile.release-build              |   5 +-
 .ci/jenkins/Jenkinsfile.release-candidate          |   2 +-
 .ci/jenkins/Jenkinsfile.release-dry-run            |   2 +-
 .ci/jenkins/Jenkinsfile.release-publish            |   2 +-
 .../release-jobs/Jenkinsfile.kogito-task-console   | 209 ---------------------
 .ci/jenkins/shared-scripts/buildUtils.groovy       |   3 +-
 .../kie-sandbox-accelerator-quarkus/package.json   |   2 +-
 packages/kogito-management-console/entrypoint.sh   |   2 +-
 .../management-console/added/entrypoint.sh         |   2 +-
 10 files changed, 18 insertions(+), 243 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.daily-dev-publish 
b/.ci/jenkins/Jenkinsfile.daily-dev-publish
index decfe021896..3cf19f24da1 100644
--- a/.ci/jenkins/Jenkinsfile.daily-dev-publish
+++ b/.ci/jenkins/Jenkinsfile.daily-dev-publish
@@ -125,11 +125,6 @@ pipeline {
         SERVERLESS_LOGIC_WEB_TOOLS__swfDevModeImageBuildTag = 
"${params.BRANCH_NAME}"
         SERVERLESS_LOGIC_WEB_TOOLS__corsProxyUrl = 
'https://daily-dev-cors-proxy-kie-sandbox.rhba-0ad6762cc85bcef5745bb684498c2436-0000.us-south.containers.appdomain.cloud'
 
-        KOGITO_TASK_CONSOLE__registry = 'docker.io'
-        KOGITO_TASK_CONSOLE__account = 'apache'
-        KOGITO_TASK_CONSOLE__name = 'incubator-kie-kogito-task-console'
-        KOGITO_TASK_CONSOLE__buildTag = "${params.BRANCH_NAME}"
-
         KOGITO_MANAGEMENT_CONSOLE__registry = 'docker.io'
         KOGITO_MANAGEMENT_CONSOLE__account = 'apache'
         KOGITO_MANAGEMENT_CONSOLE__name = 
'incubator-kie-kogito-management-console'
@@ -158,6 +153,8 @@ pipeline {
         BUILD_DATE = sh(script: "echo `date +'%Y-%m-%d %T'`", returnStdout: 
true).trim()
 
         DOCKER_CONFIG = "${WORKSPACE}/.docker"
+
+        MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven 
-Dstyle.color=never"
     }
 
     stages {
@@ -220,7 +217,7 @@ pipeline {
             steps {
                 dir('kie-tools') {
                     script {
-                        buildUtils.pnpmBootstrap()
+                        buildUtils.pnpmBootstrap('', '${MAVEN_ARGS}')
                     }
                 }
             }
@@ -230,6 +227,9 @@ pipeline {
             steps {
                 dir('kie-tools') {
                     sh """#!/bin/bash -el
+                    echo "Initializing git email and name with:"
+                    echo "git config user.email 
[email protected]"
+                    echo "git config user.name asf-ci-kie"
                     git config user.email [email protected]
                     git config user.name asf-ci-kie
                     export WEBPACK__minimize=true
@@ -244,6 +244,8 @@ pipeline {
                     export 
ONLINE_EDITOR__extendedServicesCompatibleVersion=${env.KIE_SANDBOX_EXTENDED_SERVICES_VERSION}
                     export ONLINE_EDITOR__buildInfo="${env.VERSION} 
(daily-dev) @ ${env.GIT_COMMIT} (${env.BUILD_DATE})"
                     export 
SERVERLESS_LOGIC_WEB_TOOLS__buildInfo="${env.VERSION} (daily-dev) @ 
${env.GIT_COMMIT} (${env.BUILD_DATE})"
+                    export MAVEN_ARGS=\"${MAVEN_ARGS}\"
+                    echo "Running: pnpm -r --workspace-concurrency=1 
build:prod"
                     pnpm -r --workspace-concurrency=1 build:prod
                     """.trim()
                 }
@@ -522,21 +524,6 @@ pipeline {
             }
         }
 
-        stage('Push kogito-task-console to Docker Hub') {
-            steps {
-                script {
-                    dockerUtils.pushImageToRegistry(
-                        "${env.KOGITO_TASK_CONSOLE__registry}",
-                        "${env.KOGITO_TASK_CONSOLE__account}",
-                        "${env.KOGITO_TASK_CONSOLE__name}",
-                        "${env.KOGITO_TASK_CONSOLE__buildTag}",
-                        "${pipelineVars.dockerHubUserCredentialsId}",
-                        "${pipelineVars.dockerHubTokenCredentialsId}"
-                    )
-                }
-            }
-        }
-
         stage('Push kogito-management-console to Docker Hub') {
             steps {
                 script {
@@ -621,8 +608,7 @@ pipeline {
                         configFileProvider([configFile(fileId: 
"${pipelineVars.mavenSettingsNightlyConfigFileId}", variable: 
'MAVEN_SETTINGS_FILE')]) {
                             sh """#!/bin/bash -el
                             export KIE_TOOLS_BUILD__mavenDeploySkip=false
-                            pnpm -F jbpm-quarkus-devui... -F 
sonataflow-quarkus-devui... exec 'bash' '-c' 'echo -e 
"\n--settings=${MAVEN_SETTINGS_FILE}" >> .mvn/maven.config'
-                            pnpm -F jbpm-quarkus-devui... -F 
sonataflow-quarkus-devui... exec 'bash' '-c' 'echo -Drevision=999-SNAPSHOT >> 
.mvn/maven.config'
+                            export MAVEN_ARGS=\"${MAVEN_ARGS} 
--settings=${MAVEN_SETTINGS_FILE} -Drevision=999-SNAPSHOT\"
                             pnpm -F jbpm-quarkus-devui... -F 
sonataflow-quarkus-devui... build:prod
                             """.trim()
                         }
diff --git a/.ci/jenkins/Jenkinsfile.release-build 
b/.ci/jenkins/Jenkinsfile.release-build
index 98c7fa901bf..187d125e97b 100644
--- a/.ci/jenkins/Jenkinsfile.release-build
+++ b/.ci/jenkins/Jenkinsfile.release-build
@@ -35,7 +35,7 @@ pipeline {
         string(description: 'Base Ref', name: 'BASE_REF')
         string(description: 'Release Version', name: 'RELEASE_VERSION', 
defaultValue: '0.0.0')
         string(description: 'Upload asset url', name: 'UPLOAD_ASSET_URL', 
defaultValue: '')
-        string(description: 'Runners', name: 'RUNNERS', defaultValue: 
'{"chrome_extensions":"false","cors_proxy_image":"false","dashbuilder_viewer_image":"false","dev_deployment_base_image":"false","dev_deployment_dmn_form_webapp_image":"false","dev_deployment_kogito_quakus_blank_app_image":"false","dev_deployment_upload_service":"false","extended_services":"false","jbpm_quarkus_devui":"false","kie_sandbox_extended_services_image":"false","kie_sandbox_helm_chart":"false","kie_sandbox_ima
 [...]
+        string(description: 'Runners', name: 'RUNNERS', defaultValue: 
'{"chrome_extensions":"false","cors_proxy_image":"false","dashbuilder_viewer_image":"false","dev_deployment_base_image":"false","dev_deployment_dmn_form_webapp_image":"false","dev_deployment_kogito_quakus_blank_app_image":"false","dev_deployment_upload_service":"false","extended_services":"false","jbpm_quarkus_devui":"false","kie_sandbox_extended_services_image":"false","kie_sandbox_helm_chart":"false","kie_sandbox_ima
 [...]
         string(description: 'Release Candidate Version', name: 
'RELEASE_CANDIDATE_VERSION', defaultValue: '')
     }
 
@@ -53,7 +53,6 @@ pipeline {
         SERVERLESS_LOGIC_WEB_TOOLS_BASE_BUILDER_IMAGE_JOB_RESULT = 'SKIPPED'
         SERVERLESS_LOGIC_WEB_TOOLS_SWF_DEV_MODE_IMAGE_JOB_RESULT = 'SKIPPED'
         DASHBUILDER_VIEWER_IMAGE_JOB_RESULT = 'SKIPPED'
-        KOGITO_TASK_CONSOLE_JOB_RESULT = 'SKIPPED'
         KOGITO_MANAGEMENT_CONSOLE_JOB_RESULT = 'SKIPPED'
         KOGITO_SWF_BUILDER_JOB_RESULT = 'SKIPPED'
         KOGITO_SWF_DEVMODE_JOB_RESULT = 'SKIPPED'
@@ -449,7 +448,6 @@ def setRunners() {
     env.DASHBUILDER_VIEWER_IMAGE = runners.dashbuilder_viewer_image
     env.KN_PLUGIN_WORKFLOW = runners.kn_plugin_workflow
     env.KIE_SANDBOX_HELM_CHART = runners.kie_sandbox_helm_chart
-    env.KOGITO_TASK_CONSOLE = runners.kogito_task_console
     env.KOGITO_MANAGEMENT_CONSOLE = runners.kogito_management_console
     env.KOGITO_SWF_BUILDER = runners.kogito_swf_builder
     env.KOGITO_SWF_DEVMODE = runners.kogito_swf_devmode
@@ -483,7 +481,6 @@ def printRunners() {
     echo "dashbuilder_viewer_image: ${env.DASHBUILDER_VIEWER_IMAGE}"
     echo "kn_plugin_workflow: ${env.KN_PLUGIN_WORKFLOW}"
     echo "kie_sandbox_helm_chart: ${env.KIE_SANDBOX_HELM_CHART}"
-    echo "kogito_task_console: ${env.KOGITO_TASK_CONSOLE}"
     echo "kogito_management_console: ${env.KOGITO_MANAGEMENT_CONSOLE}"
     echo "kogito_swf_builder: ${env.KOGITO_SWF_BUILDER}"
     echo "kogito_swf_devmode: ${env.KOGITO_SWF_DEVMODE}"
diff --git a/.ci/jenkins/Jenkinsfile.release-candidate 
b/.ci/jenkins/Jenkinsfile.release-candidate
index 14b6c6a20df..c307feb65f2 100644
--- a/.ci/jenkins/Jenkinsfile.release-candidate
+++ b/.ci/jenkins/Jenkinsfile.release-candidate
@@ -34,7 +34,7 @@ pipeline {
         string(name: 'BRANCH_NAME', description: 'Set the Git branch to 
checkout (0.0.x)', trim: true)
         string(name: 'RELEASE_VERSION', description: 'Release version', trim: 
true)
         string(name: 'TAG_NAME', description: 'Tag name to be created', trim: 
true)
-        string(description: 'Runners', name: 'RUNNERS', defaultValue: 
'{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_
 [...]
+        string(description: 'Runners', name: 'RUNNERS', defaultValue: 
'{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_
 [...]
     }
 
     stages {
diff --git a/.ci/jenkins/Jenkinsfile.release-dry-run 
b/.ci/jenkins/Jenkinsfile.release-dry-run
index f87ad61e347..90e7aa856ea 100644
--- a/.ci/jenkins/Jenkinsfile.release-dry-run
+++ b/.ci/jenkins/Jenkinsfile.release-dry-run
@@ -35,7 +35,7 @@ pipeline {
                 build job: 'KIE/kie-tools/kie-tools-release-build', 
parameters: [
                     booleanParam(name: 'DRY_RUN', value: true),
                     string(name: 'BASE_REF', value: 'main'),
-                    string(name: 'RUNNERS', value: 
'{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_
 [...]
+                    string(name: 'RUNNERS', value: 
'{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_
 [...]
                 ]
             }
         }
diff --git a/.ci/jenkins/Jenkinsfile.release-publish 
b/.ci/jenkins/Jenkinsfile.release-publish
index b32c233bc57..e1cb7c5cb11 100644
--- a/.ci/jenkins/Jenkinsfile.release-publish
+++ b/.ci/jenkins/Jenkinsfile.release-publish
@@ -31,7 +31,7 @@ pipeline {
 
     parameters {
         string(description: 'Release Version', name: 'RELEASE_VERSION', 
defaultValue: '0.0.0')
-        string(description: 'Runners', name: 'RUNNERS', defaultValue: 
'{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_
 [...]
+        string(description: 'Runners', name: 'RUNNERS', defaultValue: 
'{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_
 [...]
     }
 
     stages {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-task-console 
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-task-console
deleted file mode 100644
index 95fe4f27554..00000000000
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-task-console
+++ /dev/null
@@ -1,209 +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:main'
-            args '--shm-size=2g --privileged --group-add docker'
-        }
-    }
-
-    options {
-        timeout(time: 60, 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: '')
-    }
-
-    environment {
-        KIE_TOOLS_BUILD__runLinters = 'false'
-        KIE_TOOLS_BUILD__runTests = 'false'
-        KIE_TOOLS_BUILD__runEndToEndTests = 'false'
-        KIE_TOOLS_BUILD__buildContainerImages = 'true'
-
-        KOGITO_TASK_CONSOLE__registry = 'docker.io'
-        KOGITO_TASK_CONSOLE__account = 'apache'
-        KOGITO_TASK_CONSOLE__name = 'incubator-kie-kogito-task-console'
-        KOGITO_TASK_CONSOLE__buildTag = "latest ${params.RELEASE_VERSION}"
-
-        RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"
-
-        DOCKER_CONFIG = "${WORKSPACE}/.docker"
-
-        PNPM_FILTER_STRING = '-F @kie-tools/kogito-task-console...'
-    }
-
-    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'
-                    dockerUtils = load 
'.ci/jenkins/shared-scripts/dockerUtils.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('Load upstream images') {
-            when {
-                expression { !params.DRY_RUN && 
params.RELEASE_CANDIDATE_VERSION != '' }
-            }
-            steps {
-                script {
-                    upstreamReleaseArtifactsDir = 
"${WORKSPACE}/upstream-release-artifacts"
-                    
releaseUtils.downloadReleaseArtifacts("${pipelineVars.asfReleaseStagingRepository}",
 "${upstreamReleaseArtifactsDir}", "${params.RELEASE_CANDIDATE_VERSION}")
-                    upstreamImagesArtifacts = 
releaseUtils.getUpstreamImagesArtifactsList("${upstreamReleaseArtifactsDir}", 
"${params.RELEASE_CANDIDATE_VERSION}")
-                    dockerUtils.loadImages(upstreamImagesArtifacts as String[])
-                }
-            }
-        }
-
-        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}")
-                    }
-                }
-            }
-        }
-
-        stage('Build') {
-            steps {
-                dir('kie-tools') {
-                    script {
-                        buildUtils.pnpmBuild("${env.PNPM_FILTER_STRING}")
-                    }
-                }
-            }
-        }
-
-        stage('Push kogito-task-console to Docker Hub') {
-            when {
-                expression { !params.DRY_RUN && 
params.RELEASE_CANDIDATE_VERSION == '' }
-            }
-            steps {
-                script {
-                    dockerUtils.pushImageToRegistry(
-                        "${env.KOGITO_TASK_CONSOLE__registry}",
-                        "${env.KOGITO_TASK_CONSOLE__account}",
-                        "${env.KOGITO_TASK_CONSOLE__name}",
-                        "${env.KOGITO_TASK_CONSOLE__buildTag}",
-                        "${pipelineVars.dockerHubUserCredentialsId}",
-                        "${pipelineVars.dockerHubTokenCredentialsId}"
-                    )
-                }
-            }
-        }
-
-        stage('Setup release candidate artifacts') {
-            when {
-                expression { !params.DRY_RUN && 
params.RELEASE_CANDIDATE_VERSION != '' }
-            }
-            steps {
-                script {
-                    env.RELEASE_IMAGE_TAR_FILE = 
"incubator-kie-${params.RELEASE_CANDIDATE_VERSION}-kogito-task-console-image.tar.gz"
-
-                    sh """#!/bin/bash -el
-                    mkdir ${env.RELEASE_ARTIFACTS_DIR}
-                    docker save 
"${env.KOGITO_TASK_CONSOLE__registry}/${env.KOGITO_TASK_CONSOLE__account}/${env.KOGITO_TASK_CONSOLE__name}:${params.RELEASE_VERSION}"
 | gzip > "${env.RELEASE_ARTIFACTS_DIR}/${env.RELEASE_IMAGE_TAR_FILE}"
-                    """.trim()
-                }
-            }
-        }
-
-        stage('Sign artifact for Apache release') {
-            when {
-                expression { !params.DRY_RUN && 
params.RELEASE_CANDIDATE_VERSION != '' }
-            }
-            steps {
-                dir("${env.RELEASE_ARTIFACTS_DIR}") {
-                    script {
-                        
releaseUtils.setupSigningKey("${pipelineVars.asfReleaseGPGKeyCredentialsId}")
-                        
releaseUtils.signArtifact("${env.RELEASE_IMAGE_TAR_FILE}")
-                    }
-                }
-            }
-        }
-
-        stage('Publish Release Candidate artifacts') {
-            when {
-                expression { !params.DRY_RUN && 
params.RELEASE_CANDIDATE_VERSION != '' }
-            }
-            steps {
-                script {
-                    releaseUtils.publishArtifacts(
-                        "${env.RELEASE_ARTIFACTS_DIR}",
-                        "${pipelineVars.asfReleaseStagingRepository}",
-                        "${params.RELEASE_CANDIDATE_VERSION}",
-                        "${pipelineVars.asfReleaseSVNStagingCredentialsId}"
-                    )
-                }
-            }
-        }
-    }
-
-    post {
-        always {
-            cleanWs(deleteDirs: true)
-        }
-    }
-}
diff --git a/.ci/jenkins/shared-scripts/buildUtils.groovy 
b/.ci/jenkins/shared-scripts/buildUtils.groovy
index c750283d1c1..b1d29202924 100644
--- a/.ci/jenkins/shared-scripts/buildUtils.groovy
+++ b/.ci/jenkins/shared-scripts/buildUtils.groovy
@@ -67,8 +67,9 @@ def setupPnpm(String mavenSettingsFileId = '') {
 /**
 * PNPM Bootsrap
 */
-def pnpmBootstrap(String filters = '') {
+def pnpmBootstrap(String filters = '', String mavenArgs = '') {
     sh """#!/bin/bash -el
+    export MAVEN_ARGS=${mavenArgs}
     pnpm bootstrap ${filters}
     """.trim()
 }
diff --git a/packages/kie-sandbox-accelerator-quarkus/package.json 
b/packages/kie-sandbox-accelerator-quarkus/package.json
index 7aef77f6aea..ef9f103040c 100644
--- a/packages/kie-sandbox-accelerator-quarkus/package.json
+++ b/packages/kie-sandbox-accelerator-quarkus/package.json
@@ -19,7 +19,7 @@
     "_build-step:copy-git-repo-content": "mkdirp ./dist/git-repo-content && 
cpy './git-repo-content-src/**' ./dist/git-repo-content/",
     "_build-step:interpolate-pom": "ENVSUBST__VERSION_QUARKUS=\"$(build-env 
versions.quarkus)\" ENVSUBST__VERSION_KOGITO=\"$(build-env versions.kogito)\" 
ENVSUBST__VERSION_JBPM_QUARKUS_DEVUI_BOM=\"$(build-env 
jbpmQuarkusDevuiExtension.version)\" envsubst < 
./dist/git-repo-content/pom.xml.envsubst > ./dist/git-repo-content/pom.xml && 
rm ./dist/git-repo-content/pom.xml.envsubst",
     "_build-step:setup-git-repo-bare": "mkdirp ./dist-dev/git-repo-bare.git && 
cd ./dist-dev/git-repo-bare.git && git init --bare && git --bare 
update-server-info && mv hooks/post-update.sample hooks/post-update",
-    "_build-step:setup-git-repo-content": "mkdirp ./dist-dev/git-repo-content 
&& cpy './dist/git-repo-content/**' ./dist-dev/git-repo-content && cd 
./dist-dev/git-repo-content && git init --initial-branch main && git remote add 
repo ../git-repo-bare.git && git add . && git commit -m 'Single commit' && git 
push repo main",
+    "_build-step:setup-git-repo-content": "export GIT_USER_EMAIL=\"$(git 
config --get user.email)\" && export GIT_USER_NAME=\"$(git config --get 
user.name)\" && mkdirp ./dist-dev/git-repo-content && cpy 
'./dist/git-repo-content/**' ./dist-dev/git-repo-content && cd 
./dist-dev/git-repo-content && git init --initial-branch main && git remote add 
repo ../git-repo-bare.git && git config user.email \"$GIT_USER_EMAIL\" && git 
config user.name \"$GIT_USER_NAME\" && git add . && git commit -m 'S [...]
     "build:dev": "pnpm run _build",
     "build:prod": "pnpm run _build && pnpm run test",
     "start": "node dev-server/server.mjs $(build-env 
kieSandboxAcceleratorQuarkus.dev.port) ./dist-dev",
diff --git a/packages/kogito-management-console/entrypoint.sh 
b/packages/kogito-management-console/entrypoint.sh
index 1b92377150b..65cfeb480a0 100644
--- a/packages/kogito-management-console/entrypoint.sh
+++ b/packages/kogito-management-console/entrypoint.sh
@@ -18,7 +18,7 @@
 # under the License.
 #
 
-# Copying the Task Console assets here is essential for when the container is 
running with the readOnlyRootFilesystem flag.
+# Copying the Management Console assets here is essential for when the 
container is running with the readOnlyRootFilesystem flag.
 # But, just like any other directory modified during runtime, the 
/var/www/html must be a mounted volume in the container in this case.
 cp -R /management-console/app/* /var/www/html
 
diff --git 
a/packages/sonataflow-management-console-image/resources/modules/sonataflow/management-console/added/entrypoint.sh
 
b/packages/sonataflow-management-console-image/resources/modules/sonataflow/management-console/added/entrypoint.sh
index 20d57a5c891..e8183fe4a1a 100644
--- 
a/packages/sonataflow-management-console-image/resources/modules/sonataflow/management-console/added/entrypoint.sh
+++ 
b/packages/sonataflow-management-console-image/resources/modules/sonataflow/management-console/added/entrypoint.sh
@@ -19,7 +19,7 @@
 #
 set -e
 
-# Copying the Task Console assets here is essential for when the container is 
running with the readOnlyRootFilesystem flag.
+# Copying the Management Console assets here is essential for when the 
container is running with the readOnlyRootFilesystem flag.
 # But, just like any other directory modified during runtime, the 
/var/www/html must be a mounted volume in the container in this case.
 cp -R "${KOGITO_HOME}/management-console/app/"* "${HTTPD_DATA_PATH}/html"
 


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

Reply via email to