Skip to content

Commit bfa4aa8

Browse files
marko-bekhtayrodiere
authored andcommitted
HHH-19341 Remove JReleaser config from the sources
as it will be now located inside the release scripts
1 parent 5684680 commit bfa4aa8

File tree

2 files changed

+3
-44
lines changed

2 files changed

+3
-44
lines changed

ci/release/Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ pipeline {
169169
env.RELEASE_VERSION = releaseVersion.toString()
170170
env.DEVELOPMENT_VERSION = developmentVersion.toString()
171171
env.SCRIPT_OPTIONS = params.RELEASE_DRY_RUN ? "-d" : ""
172+
env.JRELEASER_DRY_RUN = params.RELEASE_DRY_RUN
172173

173174
// Determine version id to check if Jira version exists
174175
sh ".release/scripts/determine-jira-version-id.sh ${env.JIRA_KEY} ${releaseVersion.withoutFinalQualifier}"
@@ -194,7 +195,7 @@ pipeline {
194195
// Increase the amount of memory for this part since asciidoctor doc rendering consumes a lot of metaspace
195196
"GRADLE_OPTS=-Dorg.gradle.jvmargs='-Dlog4j2.disableJmx -Xmx4g -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8'"
196197
]) {
197-
sh ".release/scripts/prepare-release.sh -b ${env.GIT_BRANCH} -d ${env.DEVELOPMENT_VERSION} ${env.PROJECT} ${env.RELEASE_VERSION}"
198+
sh ".release/scripts/prepare-release.sh -j -b ${env.GIT_BRANCH} -v ${env.DEVELOPMENT_VERSION} ${env.PROJECT} ${env.RELEASE_VERSION}"
198199
}
199200
}
200201
}
@@ -233,8 +234,7 @@ pipeline {
233234
withEnv([
234235
"DISABLE_REMOTE_GRADLE_CACHE=true"
235236
]) {
236-
env.RELEASE_GPG_HOMEDIR = env.WORKSPACE_TMP + '/.gpg'
237-
sh ".release/scripts/publish.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION} ${env.GIT_BRANCH}"
237+
sh ".release/scripts/publish.sh -j ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION} ${env.GIT_BRANCH}"
238238
}
239239
}
240240
}

jreleaser.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)