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

rantunes pushed a commit to branch 10.0.x-test
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-test by this push:
     new 97fbb272 Add shasum func
97fbb272 is described below

commit 97fbb272f489f256fa1d38cccdc10eb7543aa3cc
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Mon Sep 2 10:48:55 2024 -0300

    Add shasum func
---
 .ci/jenkins/config/branch.yaml                             | 2 +-
 jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml
index 88b74688..618b298f 100644
--- a/.ci/jenkins/config/branch.yaml
+++ b/.ci/jenkins/config/branch.yaml
@@ -90,7 +90,7 @@ release:
       key_credentials_id: GPG_KEY_FILE
       passphrase_credentials_id: ''
   svn:
-    staging_repository: 
https://dist.apache.org/repos/dist/release/incubator/kie
+    staging_repository: https://dist.apache.org/repos/dist/dev/incubator/kie
     credentials_id: kie-dist-acct
 jenkins:
   email_creds_id: KOGITO_CI_NOTIFICATION_EMAILS
diff --git a/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy 
b/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
index f72483a7..bab1596b 100644
--- a/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
+++ b/jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
@@ -29,7 +29,10 @@ def gpgSignFileDetachedSignatureWithPassword(String file, 
String signatureTarget
 }
 
 def gpgSignFileDetachedSignatureWithoutPassword(String file, String 
signatureTarget) {
-    sh "gpg --batch --sign --pinentry-mode=loopback --output 
${signatureTarget} --detach-sig ${file}"
+    sh """
+    gpg --batch --sign --pinentry-mode=loopback --output ${signatureTarget} 
--detach-sig ${file}
+    shasum -a 512 ${file} > ${file}.sha512
+    """
 }
 
 boolean gpgIsValidDetachedSignature(String file, String signature) {


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

Reply via email to