This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch 10.0.x
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new 0c7d150e Fix gpg import key utility (#1239)
0c7d150e is described below

commit 0c7d150eb810ef3676b8b1ed7ddbc4c1e442aa45
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue Aug 13 14:32:01 2024 -0300

    Fix gpg import key utility (#1239)
---
 jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy 
b/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
index 6bb9564e..6e883375 100644
--- a/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
+++ b/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
@@ -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
         """
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to