Skip to content

Commit 054b1d7

Browse files
RushabhJenkins
authored andcommitted
HBASE-22852 Stop gpg agent daemons in hbase nightlies. (apache#525)
Signed-off-by: Stack <[email protected]> Signed-off-by: Sean Busbey <[email protected]> (cherry picked from commit 0438fdc) (cherry picked from commit da72e21) Change-Id: Icf9d413719fdafee6cfe4ee686f55a8a7923a771
1 parent d994ac1 commit 054b1d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev-support/jenkins-scripts/cache-apache-project-artifact.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ else
7878
fi
7979

8080
function cleanup {
81+
if [ -n "${keys}" ]; then
82+
echo "Stopping gpg agent daemon"
83+
gpgconf --homedir "${working_dir}/.gpg" --kill gpg-agent
84+
echo "Stopped gpg agent daemon"
85+
fi
86+
8187
if [ "true" = "${cleanup}" ]; then
8288
echo "cleaning up temp space."
8389
rm -rf "${working_dir}"

0 commit comments

Comments
 (0)