From d3243c1ffe632a244180ae807f8a36aa096ad7d2 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Mon, 21 Feb 2022 14:10:17 +0100 Subject: [PATCH] add value to "maven_activation_property" cases --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8a010a0..42d8f78 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,8 +10,8 @@ if (params.Type == 'SNAPSHOT-DRY-RUN') { echo "Configure Maven for SNAPSHOT-DRY-RUN artifacts" options = '' maven_local_repo_path = "local-snapshots" - maven_settings_file = "jenkins-snapshots-dry-run-settings.xml" - maven_activation_property="-Pgcube-developer,dry-run"; + maven_settings_file = "jenkins-snapshots-dry-run-settings.xml" + maven_activation_property="-Pdry-run"; maven_parent_file = "jenkins-snapshots-dry-run-settings.xml" } if (params.Type == 'SNAPSHOT') { @@ -27,7 +27,7 @@ if (params.Type == 'RELEASE-DRY-RUN') { options = '' maven_local_repo_path = "local-releases" maven_settings_file = "jenkins-releases-dry-run-settings.xml" - maven_activation_property="-Pdry-run -Djenkins-releases=true -DRelease"; + maven_activation_property="-Pdry-run -Djenkins-releases -DRelease"; maven_parent_file = "jenkins-releases-dry-run-settings.xml" } if (params.Type == 'STAGING') { @@ -35,7 +35,7 @@ if (params.Type == 'STAGING') { options = '' maven_local_repo_path = "local-staging" maven_settings_file = "jenkins-staging-settings.xml" - maven_activation_property="-Djenkins-staging=true -DRelease"; + maven_activation_property="-Djenkins-staging -DRelease"; maven_parent_file = "jenkins-staging-dry-run-settings.xml" } if (params.Type == 'RELEASE') { @@ -43,7 +43,7 @@ if (params.Type == 'RELEASE') { options = '' maven_local_repo_path = "local-releases" maven_settings_file = "jenkins-releases-settings.xml" - maven_activation_property="-Djenkins-releases=true -DRelease"; + maven_activation_property="-Djenkins-releases -DRelease"; maven_parent_file = "jenkins-releases-dry-run-settings.xml" }