This is an automated email from the ASF dual-hosted git repository.
Kusuma04-dev pushed a commit to branch 10.3.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/10.3.x by this push:
new 0dc590a6d89 [10.3.x][incubator-kie-tools] Fix 10.3.x+
release-candidate Bootstrap for rc2 builds from an existing stream branch
(#4088)
0dc590a6d89 is described below
commit 0dc590a6d893f012a2fac1b05b6b869ae5d66aad
Author: Kusuma04-dev <[email protected]>
AuthorDate: Wed Nov 18 22:51:49 2026 +0530
[10.3.x][incubator-kie-tools] Fix 10.3.x+ release-candidate Bootstrap for
rc2 builds from an existing stream branch (#4088)
---
.ci/jenkins/Jenkinsfile.103xplus.release-candidate | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.103xplus.release-candidate
b/.ci/jenkins/Jenkinsfile.103xplus.release-candidate
index 895f04b08f5..4ac6f7486d0 100644
--- a/.ci/jenkins/Jenkinsfile.103xplus.release-candidate
+++ b/.ci/jenkins/Jenkinsfile.103xplus.release-candidate
@@ -185,9 +185,23 @@ pipeline {
stage('Bootstrap') {
steps {
dir('kie-tools') {
- sh '''#!/bin/bash -el
- pnpm bootstrap
- '''
+ script {
+ if (params.CREATE_STREAM_BRANCH) {
+ // Building from main: it uses a '-local' Kogito
version, so Drools and Kogito are built from source.
+ sh '''#!/bin/bash -el
+ pnpm bootstrap
+ '''
+ } else {
+ // Building from an existing X.Y.x: it is still at
the development Kogito version (X.Y.999-SNAPSHOT),
+ // which is not published anywhere and is not
built locally, so a full bootstrap would fail to resolve
+ // e.g. kogito-apps-bom. Bootstrap only the root
(enough to run the update scripts) and set the
+ // Kogito version to RELEASE_VERSION first; its
own bootstrap then resolves it from the staging repositories.
+ sh """#!/bin/bash -el
+ pnpm bootstrap:root
+ pnpm update-kogito-version-to --maven
${params.RELEASE_VERSION}
+ """
+ }
+ }
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]