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:47:15 UTC
[hbase] branch branch-2 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 branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new a386c6c HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525)
a386c6c is described below
commit a386c6cdda26ce6f058165a4349eff1cb0c6ed93
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>
(cherry picked from commit 0438fdc0f66f777e691123e04f638ad7996f764e)
---
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}"