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 3d86879157 try: inlining the changes now, instead of shared library
3d86879157 is described below
commit 3d86879157f703151dd953261b5e513dcb2fb02b
Author: Alex Porcelli <[email protected]>
AuthorDate: Sat Mar 21 14:36:13 2026 -0400
try: inlining the changes now, instead of shared library
---
.ci/jenkins/Jenkinsfile.deploy | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index e0008df2c3..ce656edd85 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -277,12 +277,19 @@ void updateQuickstartsVersions() {
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)
+ // Use skipResolution to avoid needing to resolve the parent
artifact from remote repositories
+ getOptaplannerQuickstartsMavenCommand()
+ .withSettingsXmlFile(MAVEN_SETTINGS_FILE)
+ .withProperty('apache.repository.username', REPOSITORY_USER)
+ .withProperty('apache.repository.password', REPOSITORY_TOKEN)
+ .clone()
+ .withOptions(['-N', '-e'])
+ .withProperty('full')
+ .withProperty('parentVersion', "[${getProjectVersion()}]")
+ .withProperty('allowSnapshots', !isRelease())
+ .withProperty('generateBackupPoms', false)
+ .withProperty('skipResolution', true)
+ .run('versions:update-parent')
maven.mvnVersionsUpdateChildModules(
getOptaplannerQuickstartsMavenCommand()
.withSettingsXmlFile(MAVEN_SETTINGS_FILE)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]