Skip to content

Commit ebcfffa

Browse files
committed
Remove a few now unnecessary release parameters
1 parent 46c48cf commit ebcfffa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ci/release/Jenkinsfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ pipeline {
3737
defaultValue: false,
3838
description: 'If true, just simulate the release, without pushing any commits or tags, and without uploading any artifacts or documentation.'
3939
)
40-
booleanParam(
41-
name: 'RELEASE_PUBLISH_AUTOMATICALLY',
42-
defaultValue: true,
43-
description: 'If true, staging repository will get closed and published automatically, otherwise the artifacts will only be uploaded and the publishing (releasing the staging repository) has to be performed manually at Maven Central portal.'
44-
)
4540
}
4641
stages {
4742
stage('Release') {
@@ -66,9 +61,6 @@ pipeline {
6661
def releaseVersion = Version.parseReleaseVersion(params.RELEASE_VERSION)
6762
def developmentVersion = Version.parseDevelopmentVersion(params.DEVELOPMENT_VERSION)
6863
env.JRELEASER_DRY_RUN = params.RELEASE_DRY_RUN
69-
if (!params.RELEASE_PUBLISH_AUTOMATICALLY) {
70-
env.JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_STAGE='UPLOAD'
71-
}
7264
echo "Performing full release for version ${releaseVersion.toString()}"
7365

7466
withMaven(mavenSettingsConfig: params.RELEASE_DRY_RUN ? null : 'ci-hibernate.deploy.settings.maven',
@@ -80,7 +72,7 @@ pipeline {
8072
string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE'),
8173
usernamePassword(credentialsId: 'central.sonatype.com', passwordVariable: 'JRELEASER_MAVENCENTRAL_TOKEN', usernameVariable: 'JRELEASER_MAVENCENTRAL_USERNAME'),
8274
string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN')]) {
83-
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'jenkins.in.relation.to', 'hibernate-ci.frs.sourceforge.net']) {
75+
sshagent(['ed25519.Hibernate-CI.github.com', 'jenkins.in.relation.to', 'hibernate-ci.frs.sourceforge.net']) {
8476
sh 'cat $HOME/.ssh/config'
8577
dir('.release/scripts') {
8678
sh 'git clone https://github.com/hibernate/hibernate-release-scripts.git .'

0 commit comments

Comments
 (0)