Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WIP gpg fails if importing an existing key
credman committed Jan 13, 2022
1 parent 60f28c9 commit e9d6189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
@@ -14,7 +14,8 @@ node('docker') {
if (git_tag ==~ tag_pattern ) {
stage("PgpImport") {
withCredentials([file(credentialsId: gpg_cred_id, variable: 'GPG_KEYS')]) {
sh 'gpg --merge --keyring=pubring.gpg --no-default-keyring --import $GPG_KEYS'
sh 'gpg --version'
sh 'gpg --keyring=pubring.gpg --no-default-keyring --import $GPG_KEYS || true'
}
}

0 comments on commit e9d6189

Please sign in to comment.