This is an automated email from the ASF dual-hosted git repository.
porcelli pushed a commit to branch 10.2.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/10.2.x by this push:
new 7a52a4d8f4a release: additional adjusts
7a52a4d8f4a is described below
commit 7a52a4d8f4a8812b3e1d75cf0ba316cc509f56c6
Author: Alex Porcelli <[email protected]>
AuthorDate: Sun Mar 22 21:05:50 2026 -0400
release: additional adjusts
---
.ci/jenkins/Jenkinsfile.release-build | 1 +
.../release-jobs/Jenkinsfile.vscode-extensions-dev | 54 +++++++++++++++++++++-
2 files changed, 53 insertions(+), 2 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.release-build
b/.ci/jenkins/Jenkinsfile.release-build
index 8f0c1117fc7..983803ba0f2 100644
--- a/.ci/jenkins/Jenkinsfile.release-build
+++ b/.ci/jenkins/Jenkinsfile.release-build
@@ -717,6 +717,7 @@ def vscodeExtensionsDevBuildJob() {
string(name: 'BASE_REF', value: "${params.BASE_REF}"),
string(name: 'RELEASE_VERSION', value:
"${params.RELEASE_VERSION}"),
string(name: 'UPLOAD_ASSET_URL', value:
"${params.UPLOAD_ASSET_URL}"),
+ string(name: 'RELEASE_CANDIDATE_VERSION', value:
"${params.RELEASE_CANDIDATE_VERSION}"),
string(name: 'PIPELINE_PATH', value: "${params.PIPELINE_PATH}")
]
).result
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
b/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
index 2e49978a976..868de8a55be 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
@@ -31,6 +31,7 @@ pipeline {
string(description: 'Release Version', name: 'RELEASE_VERSION',
defaultValue: '0.0.0')
string(description: 'Base Ref', name: 'BASE_REF')
string(description: 'Upload Asset Url', name: 'UPLOAD_ASSET_URL')
+ string(description: 'Release Candidate Version', name:
'RELEASE_CANDIDATE_VERSION', defaultValue: '')
string(name: 'PIPELINE_PATH', description: 'Path to run the pipeline')
}
@@ -40,8 +41,10 @@ pipeline {
KIE_TOOLS_BUILD__runEndToEndTests = 'false'
KIE_TOOLS_BUILD__buildContainerImages = 'true'
+ RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"
+
PNPM_FILTER_STRING = '-F kie-editors-dev-vscode-extension...'
-
+
MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml
-Dmaven.repo.local=${WORKSPACE}/.maven"
}
@@ -52,6 +55,7 @@ pipeline {
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'
}
}
}
@@ -128,7 +132,7 @@ pipeline {
stage('Upload VS Code Extension (dev)') {
when {
- expression { !params.DRY_RUN }
+ expression { !params.DRY_RUN &&
params.RELEASE_CANDIDATE_VERSION == '' }
}
steps {
dir('kie-tools') {
@@ -144,6 +148,52 @@ pipeline {
}
}
}
+
+ stage('Setup release candidate artifacts') {
+ when {
+ expression { !params.DRY_RUN &&
params.RELEASE_CANDIDATE_VERSION != '' }
+ }
+ steps {
+ script {
+ env.KIE_EDITORS_DEV_VSCODE_EXTENSION_RELEASE_FILE =
"apache-kie-${params.RELEASE_VERSION}-incubating-kie-editors-dev-vscode-extension.vsix"
+
+ sh """#!/bin/bash -el
+ mkdir ${env.RELEASE_ARTIFACTS_DIR}
+ cp
"kie-tools/packages/kie-editors-dev-vscode-extension/dist/kie_editors_dev_vscode_extension_${params.RELEASE_VERSION}.vsix"
"${env.RELEASE_ARTIFACTS_DIR}/${env.KIE_EDITORS_DEV_VSCODE_EXTENSION_RELEASE_FILE}"
+ """.trim()
+ }
+ }
+ }
+
+ stage('Sign artifacts 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.KIE_EDITORS_DEV_VSCODE_EXTENSION_RELEASE_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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]