diff --git a/Jenkinsfile b/Jenkinsfile index b40ff65..8a010a0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ if (params.Type == 'SNAPSHOT-DRY-RUN') { options = '' maven_local_repo_path = "local-snapshots" maven_settings_file = "jenkins-snapshots-dry-run-settings.xml" - maven_activation_property=""; + maven_activation_property="-Pgcube-developer,dry-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="-Djenkins-releases=true"; + maven_activation_property="-Pdry-run -Djenkins-releases=true -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"; + maven_activation_property="-Djenkins-staging=true -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"; + maven_activation_property="-Djenkins-releases=true -DRelease"; maven_parent_file = "jenkins-releases-dry-run-settings.xml" }