You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2019/08/26 21:44:13 UTC
[hbase] branch master updated: HBASE-22852 Stop gpg agent daemons
in hbase nightlies. (#525)
This is an automated email from the ASF dual-hosted git repository.
busbey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 0438fdc HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525)
0438fdc is described below
commit 0438fdc0f66f777e691123e04f638ad7996f764e
Author: Rushabh <ru...@salesforce.com>
AuthorDate: Thu Aug 22 14:48:58 2019 -0700
HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525)
Signed-off-by: Stack <st...@apache.org>
Signed-off-by: Sean Busbey <bu...@apache.org>
---
dev-support/jenkins-scripts/cache-apache-project-artifact.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-support/jenkins-scripts/cache-apache-project-artifact.sh b/dev-support/jenkins-scripts/cache-apache-project-artifact.sh
index 57853c3..5653b05 100755
--- a/dev-support/jenkins-scripts/cache-apache-project-artifact.sh
+++ b/dev-support/jenkins-scripts/cache-apache-project-artifact.sh
@@ -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}"