Skip to content

Commit eb59545

Browse files
committed
Import public gpg key
1 parent e619770 commit eb59545

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/release/Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ pipeline {
5353
configFileProvider([configFile(fileId: 'release.config.ssh', targetLocation: env.HOME + '/.ssh/config'),
5454
configFile(fileId: 'release.config.ssh.knownhosts', targetLocation: env.HOME + '/.ssh/known_hosts')]) {
5555
// using MAVEN_GPG_PASSPHRASE (the default env variable name for passphrase in maven gpg plugin)
56-
withCredentials([file(credentialsId: 'release.gpg.private-key', variable: 'RELEASE_GPG_PRIVATE_KEY_PATH'),
56+
withCredentials([file(credentialsId: 'release.gpg.public-key', variable: 'RELEASE_GPG_PUBLIC_KEY_PATH'),
57+
file(credentialsId: 'release.gpg.private-key', variable: 'RELEASE_GPG_PRIVATE_KEY_PATH'),
5758
string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE'),
5859
usernamePassword(credentialsId: 'ossrh.sonatype.org', passwordVariable: 'JRELEASER_NEXUS2_PASSWORD', usernameVariable: 'JRELEASER_NEXUS2_USERNAME'),
5960
string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN')]) {

0 commit comments

Comments
 (0)