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

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


The following commit(s) were added to refs/heads/main by this push:
     new bdf171539c Adjust pipelines to use the gpg key provided by Apache to 
sign the artifacts (#3581)
bdf171539c is described below

commit bdf171539c8ec995bbff7db3c8744c7fe136cacd
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue Jul 16 11:17:51 2024 -0300

    Adjust pipelines to use the gpg key provided by Apache to sign the 
artifacts (#3581)
---
 .ci/jenkins/Jenkinsfile.deploy | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index 953415b891..8e3058499b 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -159,13 +159,9 @@ pipeline {
                             }
                         }
                         if (isRelease()) {
-                            
release.gpgImportKeyFromFileWithPassword(getReleaseGpgSignKeyCredsId(), 
getReleaseGpgSignPassphraseCredsId())
-                            withCredentials([string(credentialsId: 
getReleaseGpgSignPassphraseCredsId(), variable: 'SIGNING_KEY_PASSWORD')]) {
-                                mvnCmd.withProperty('gpg.passphrase', 
SIGNING_KEY_PASSWORD)
-                                    .withProfiles(['apache-release'])
-
-                                mavenRunClosure()
-                            }
+                            
release.gpgImportKeyFromStringWithoutPassword(getReleaseGpgSignKeyCredsId())
+                            mavenCommand.withProfiles(['apache-release'])
+                            mavenRunClosure()
                         } else {
                             mavenRunClosure()
                         }


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

Reply via email to