This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 77afd6d  on jenkins agents, prune unused volumes (when all executors 
are idle)
77afd6d is described below

commit 77afd6d3b242557db167a1766450d78cd11188c0
Author: Mick Semb Wever <m...@apache.org>
AuthorDate: Thu May 16 20:53:36 2024 +0200

    on jenkins agents, prune unused volumes (when all executors are idle)
---
 jenkins-dsl/agent_scripts/docker_agent_cleaner.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/jenkins-dsl/agent_scripts/docker_agent_cleaner.sh 
b/jenkins-dsl/agent_scripts/docker_agent_cleaner.sh
index 1da2259..7526a5c 100644
--- a/jenkins-dsl/agent_scripts/docker_agent_cleaner.sh
+++ b/jenkins-dsl/agent_scripts/docker_agent_cleaner.sh
@@ -43,6 +43,8 @@ docker system prune --all --force --filter 
"until=${maxJobHours}h"
 if !( pgrep -xa docker &> /dev/null || pgrep -af "build/docker" &> /dev/null 
|| pgrep -af "cassandra-builds/build-scripts" &> /dev/null ) ; then
     echo -n "docker system prune --force : "
     docker system prune --force || true ;
+    echo -n "docker volume prune --force : "
+    docker volume prune --force || true ;
 fi;
 
 virtualenv -p python3 -q .venv


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to