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-apps.git
The following commit(s) were added to refs/heads/main by this push:
new 2e1bde1f3 Adjust pipelines to use the gpg key provided by Apache to
sign the artifacts (#2079)
2e1bde1f3 is described below
commit 2e1bde1f3f2b173e552e5739ea3f378506abb3bf
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue Jul 16 11:17:36 2024 -0300
Adjust pipelines to use the gpg key provided by Apache to sign the
artifacts (#2079)
---
.ci/jenkins/Jenkinsfile.deploy | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index c1ca9c830..912164d28 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -123,12 +123,9 @@ pipeline {
}
}
if (isRelease()) {
-
release.gpgImportKeyFromFileWithPassword(getReleaseGpgSignKeyCredsId(),
getReleaseGpgSignPassphraseCredsId())
- withCredentials([string(credentialsId:
getReleaseGpgSignPassphraseCredsId(), variable: 'SIGNING_KEY_PASSWORD')]) {
-
mavenCommand.withProperty('gpg.passphrase', SIGNING_KEY_PASSWORD)
-
mavenCommand.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]