Skip to content

Commit 0438fdc

Browse files
Rushabhbusbey
authored andcommitted
HBASE-22852 Stop gpg agent daemons in hbase nightlies. (apache#525)
Signed-off-by: Stack <stack@apache.org> Signed-off-by: Sean Busbey <busbey@apache.org>
1 parent 1ea5d8b commit 0438fdc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev-support/jenkins-scripts/cache-apache-project-artifact.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ else
7878
fi
7979

8080
function cleanup {
81+
if [ -n "${keys}" ]; then
82+
echo "Stopping gpg agent daemon"
83+
gpgconf --homedir "${working_dir}/.gpg" --kill gpg-agent
84+
echo "Stopped gpg agent daemon"
85+
fi
86+
8187
if [ "true" = "${cleanup}" ]; then
8288
echo "cleaning up temp space."
8389
rm -rf "${working_dir}"

0 commit comments

Comments
 (0)