From 276d96b8123688b70a6fe6c182026da38520965c Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Fri, 18 Oct 2024 14:46:26 +0200 Subject: [PATCH] [10.0.x] fix maven settings env var in buildchain --- dsl/seed/jenkinsfiles/Jenkinsfile.buildchain | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsl/seed/jenkinsfiles/Jenkinsfile.buildchain b/dsl/seed/jenkinsfiles/Jenkinsfile.buildchain index 54918b58b..000ca6c33 100644 --- a/dsl/seed/jenkinsfiles/Jenkinsfile.buildchain +++ b/dsl/seed/jenkinsfiles/Jenkinsfile.buildchain @@ -16,8 +16,8 @@ mavenDeployLocalDir = env.MAVEN_DEPLOY_LOCAL_DIR ?: '' buildChainType = env.BUILDCHAIN_TYPE?.trim() ?: 'cross_pr' buildChainProject = env.BUILDCHAIN_PROJECT?.trim() -defaultSettingsXmlId = isPRBuildChainType() || isFDBBuildChainType() ? 'kie-pr-settings' : 'kie-release-settings' -settingsXmlId = env.MAVEN_SETTINGS_FILE_ID ?: defaultSettingsXmlId +defaultSettingsXmlId = isPRBuildChainType() || isFDBBuildChainType() ? 'kie-pr-settings' : 'kie-nightly-settings' +settingsXmlId = env.MAVEN_SETTINGS_CONFIG_FILE_ID ?: defaultSettingsXmlId enableSonarCloudAnalysis = env.ENABLE_SONARCLOUD ? env.ENABLE_SONARCLOUD.toBoolean() : false downstreamBuild = env.DOWNSTREAM_BUILD ? env.DOWNSTREAM_BUILD.toBoolean() : false