Skip to content

Commit

Permalink
HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525)
Browse files Browse the repository at this point in the history
Signed-off-by: Stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 0438fdc)
  • Loading branch information
Rushabh authored and busbey committed Aug 26, 2019
1 parent fe689bf commit a386c6c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev-support/jenkins-scripts/cache-apache-project-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ else
fi

function cleanup {
if [ -n "${keys}" ]; then
echo "Stopping gpg agent daemon"
gpgconf --homedir "${working_dir}/.gpg" --kill gpg-agent
echo "Stopped gpg agent daemon"
fi

if [ "true" = "${cleanup}" ]; then
echo "cleaning up temp space."
rm -rf "${working_dir}"
Expand Down

0 comments on commit a386c6c

Please sign in to comment.