Skip to content

Commit

Permalink
HBASE-22852 Stop gpg agent daemons in hbase nightlies. (apache#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>
  • Loading branch information
Rushabh authored and busbey committed Aug 26, 2019
1 parent 1ea5d8b commit 0438fdc
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 0438fdc

Please sign in to comment.