From f8d58909cc0166a59afb9f9bb802902ad2a0d11c Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Thu, 3 Oct 2024 10:01:26 -0300 Subject: [PATCH 1/2] Add productized maven property to the optaplanner-quickstarts build command in the release job --- .ci/jenkins/Jenkinsfile.deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy index b4245b4e8a4..f4df33adbb1 100644 --- a/.ci/jenkins/Jenkinsfile.deploy +++ b/.ci/jenkins/Jenkinsfile.deploy @@ -181,6 +181,7 @@ pipeline { .withSettingsXmlFile(MAVEN_SETTINGS_FILE) .withProperty('apache.repository.username', REPOSITORY_USER) .withProperty('apache.repository.password', REPOSITORY_TOKEN) + .withProperty('productized') .run('clean install') } } From 3d2af369acd9e0e1f434993fe5bc305642c1fdae Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Thu, 3 Oct 2024 11:08:01 -0300 Subject: [PATCH 2/2] Remove productized property from release build command --- .ci/jenkins/Jenkinsfile.deploy | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy index f4df33adbb1..854766ca685 100644 --- a/.ci/jenkins/Jenkinsfile.deploy +++ b/.ci/jenkins/Jenkinsfile.deploy @@ -146,9 +146,7 @@ pipeline { if (isRelease()) { releaseUtils.gpgImportKeyFromStringWithoutPassword(getReleaseGpgSignKeyCredsId()) - mavenCommand - .withProfiles(['apache-release']) - .withProperty('productized') + mavenCommand.withProfiles(['apache-release']) } configFileProvider([configFile(fileId: env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]) { @@ -181,7 +179,6 @@ pipeline { .withSettingsXmlFile(MAVEN_SETTINGS_FILE) .withProperty('apache.repository.username', REPOSITORY_USER) .withProperty('apache.repository.password', REPOSITORY_TOKEN) - .withProperty('productized') .run('clean install') } }