Skip to content

Commit

Permalink
Fix gpg import key utility
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Aug 13, 2024
1 parent 7bb7feb commit bc8f595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def gpgImportKeyFromStringWithoutPassword(String gpgKeyCredentialsId) {
echo "$SIGNING_KEY" > $WORKSPACE/signkey.gpg
# Please do not remove list keys command. When gpg is run for the first time, it may initialize some internals.
gpg --list-keys
gpg --batch --pinentry-mode=loopback --import signkey.gpg
gpg --batch --pinentry-mode=loopback --import $WORKSPACE/signkey.gpg
rm $WORKSPACE/signkey.gpg
"""
}
Expand Down

0 comments on commit bc8f595

Please sign in to comment.