File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,9 @@ pipeline {
6868 mavenLocalRepo : env. WORKSPACE_TMP + ' /.m2repository' ) {
6969 configFileProvider([configFile(fileId : ' release.config.ssh' , targetLocation : env. HOME + ' /.ssh/config' ),
7070 configFile(fileId : ' release.config.ssh.knownhosts' , targetLocation : env. HOME + ' /.ssh/known_hosts' )]) {
71+ // using MAVEN_GPG_PASSPHRASE (the default env variable name for passphrase in maven gpg plugin)
7172 withCredentials([file(credentialsId : ' release.gpg.private-key' , variable : ' RELEASE_GPG_PRIVATE_KEY_PATH' ),
72- string(credentialsId : ' release.gpg.passphrase' , variable : ' RELEASE_GPG_PASSPHRASE ' )]) {
73+ string(credentialsId : ' release.gpg.passphrase' , variable : ' MAVEN_GPG_PASSPHRASE ' )]) {
7374 sshagent([' ed25519.Hibernate-CI.github.com' , ' hibernate.filemgmt.jboss.org' , ' hibernate-ci.frs.sourceforge.net' ]) {
7475 sh ' cat $HOME/.ssh/config'
7576 sh ' git clone https://github.com/hibernate/hibernate-noorm-release-scripts.git'
Original file line number Diff line number Diff line change 13651365 </goals >
13661366 <configuration >
13671367 <homedir >${env.RELEASE_GPG_HOMEDIR} </homedir >
1368- <passphrase > ${env.RELEASE_GPG_PASSPHRASE} </ passphrase >
1368+ <bestPractices >true</ bestPractices >
13691369 </configuration >
13701370 </execution >
13711371 </executions >
You can’t perform that action at this time.
0 commit comments