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>
(cherry picked from commit 0438fdc)
(cherry picked from commit da72e21)

Change-Id: Icf9d413719fdafee6cfe4ee686f55a8a7923a771
  • Loading branch information
Rushabh authored and Jenkins committed Aug 26, 2019
1 parent d994ac1 commit 054b1d7
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 054b1d7

Please sign in to comment.