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


The following commit(s) were added to refs/heads/10.2.x by this push:
     new 278df7d9b4 try: fix planner release pipeline
278df7d9b4 is described below

commit 278df7d9b405dd1872fe665b71a5c5d5aee4132a
Author: Alex Porcelli <[email protected]>
AuthorDate: Sat Mar 21 13:04:20 2026 -0400

    try: fix planner release pipeline
---
 .ci/jenkins/Jenkinsfile.deploy | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index 854766ca68..e0008df2c3 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -274,10 +274,15 @@ void sendErrorNotification() {
 
 void updateQuickstartsVersions() {
     maven.mvnSetVersionProperty(getOptaplannerQuickstartsMavenCommand(), 
'version.org.optaplanner', getProjectVersion())
-    maven.mvnVersionsUpdateParent(getOptaplannerQuickstartsMavenCommand(), 
getProjectVersion(), !isRelease())
 
     withCredentials([usernamePassword(credentialsId: env.MAVEN_REPO_CREDS_ID, 
usernameVariable: 'REPOSITORY_USER', passwordVariable: 'REPOSITORY_TOKEN')]) {
         configFileProvider([configFile(fileId: 
env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]) {
+            maven.mvnVersionsUpdateParent(
+                getOptaplannerQuickstartsMavenCommand()
+                    .withSettingsXmlFile(MAVEN_SETTINGS_FILE)
+                    .withProperty('apache.repository.username', 
REPOSITORY_USER)
+                    .withProperty('apache.repository.password', 
REPOSITORY_TOKEN),
+                getProjectVersion(), !isRelease(), true)
             maven.mvnVersionsUpdateChildModules(
                 getOptaplannerQuickstartsMavenCommand()
                     .withSettingsXmlFile(MAVEN_SETTINGS_FILE)


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

Reply via email to