From fb4fcf3abcb36b33a3055317220404c5090d7919 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Wed, 6 Jul 2016 17:47:55 -0400 Subject: Fix for gpg-agent. I might need to force call an $(eval gpg-agent) Buuut I think this should work. Change-Id: I6b3311bc1a1f19d74f4668bfe717fdd67757fc72 Signed-off-by: Aric Gardner --- jjb/apex/apex-upload-artifact.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jjb/apex/apex-upload-artifact.sh b/jjb/apex/apex-upload-artifact.sh index 49e19bb12..d45c7c01b 100755 --- a/jjb/apex/apex-upload-artifact.sh +++ b/jjb/apex/apex-upload-artifact.sh @@ -23,8 +23,8 @@ fi signrpm () { for artifact in $RPM_LIST $SRPM_LIST; do echo "Signing artifact: ${artifact}" - gpg2 -vvv --batch \ - --default-key opnfv-helpdesk@rt.linuxfoundation.org \ + gpg2 -vvv --batch --yes --no-tty \ + --default-key opnfv-helpdesk@rt.linuxfoundation.org \ --passphrase besteffort \ --detach-sig $artifact gsutil cp "$artifact".sig gs://$GS_URL/$(basename "$artifact".sig) @@ -33,7 +33,7 @@ done } signiso () { -time gpg2 -vvv --batch \ +time gpg2 -vvv --batch --yes --no-tty \ --default-key opnfv-helpdesk@rt.linuxfoundation.org \ --passphrase notreallysecure \ --detach-sig $BUILD_DIRECTORY/release/OPNFV-CentOS-7-x86_64-$OPNFV_ARTIFACT_VERSION.iso -- cgit 1.2.3-korg