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:17 UTC

[hbase] branch branch-2.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.2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new da72e21  HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525)
da72e21 is described below

commit da72e2186b310e07a1b12548a5c3fde57d99e5f9
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}"