From cb22e5c3bdd87f09d903e046241e669d437b50ab Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Mon, 27 May 2024 16:37:00 -0300 Subject: [PATCH] CI updates for Apache 10 release --- .ci/jenkins/config/branch.yaml | 6 +++--- jenkins-pipeline-shared-libraries/vars/maven.groovy | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml index 145ebe9e2..9c911a771 100644 --- a/.ci/jenkins/config/branch.yaml +++ b/.ci/jenkins/config/branch.yaml @@ -82,9 +82,9 @@ maven: creds_id: TO_DEFINE cloud: image: - registry_credentials: quay_kiegroup_registry_token - registry: quay.io - namespace: kiegroup + registry_credentials: + registry: docker.io + namespace: apache latest_git_branch: main release: gpg: diff --git a/jenkins-pipeline-shared-libraries/vars/maven.groovy b/jenkins-pipeline-shared-libraries/vars/maven.groovy index 1ac1f77de..b8382fb5a 100644 --- a/jenkins-pipeline-shared-libraries/vars/maven.groovy +++ b/jenkins-pipeline-shared-libraries/vars/maven.groovy @@ -59,12 +59,13 @@ def mvnVersionsSet(String newVersion, boolean allowSnapshots = false) { mvnVersionsSet(new MavenCommand(this), newVersion, allowSnapshots) } -def mvnVersionsSet(MavenCommand mvnCmd, String newVersion, boolean allowSnapshots = false) { +def mvnVersionsSet(MavenCommand mvnCmd, String newVersion, boolean allowSnapshots = false, boolean processAllModules = true) { mvnCmd.clone() .withOptions(['-N', '-e']) .withProperty('full') .withProperty('newVersion', newVersion) .withProperty('allowSnapshots', allowSnapshots) + .withProperty('processAllModules', processAllModules) .withProperty('generateBackupPoms', false) .run('versions:set') }