Skip to content

Commit 25c41e2

Browse files
committed
ci: fix quoting issue in Jenkinsfile
1 parent 9b5f08b commit 25c41e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pipeline {
108108

109109
if (env.BRANCH_NAME == 'main') {
110110
withCredentials([string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')]) {
111-
sh "./mvnw ${maven_args} -Psign -Dgpg.passphrase="${KEYRING_PASSPHRASE}" clean deploy"
111+
sh """./mvnw ${maven_args} -Psign -Dgpg.passphrase="\$KEYRING_PASSPHRASE" clean deploy"""
112112
}
113113
} else {
114114
sh "./mvnw ${maven_args} clean verify"

0 commit comments

Comments
 (0)