From 0438fdc0f66f777e691123e04f638ad7996f764e Mon Sep 17 00:00:00 2001 From: Rushabh Date: Thu, 22 Aug 2019 14:48:58 -0700 Subject: [PATCH] HBASE-22852 Stop gpg agent daemons in hbase nightlies. (#525) Signed-off-by: Stack Signed-off-by: Sean Busbey --- 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 57853c3d09..5653b05cb4 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}" -- 2.11.4.GIT