From 5bf51bf3c6d27bb61b958cde1e9a6cee925132e4 Mon Sep 17 00:00:00 2001 From: Chris Grindstaff Date: Mon, 3 Jun 2024 10:01:37 -0400 Subject: [PATCH] ci: stop containers after tests --- integration/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/Jenkinsfile b/integration/Jenkinsfile index f43ce5c0c..cb6867a23 100644 --- a/integration/Jenkinsfile +++ b/integration/Jenkinsfile @@ -196,7 +196,7 @@ pipeline { rm -f docker_logs.zip zip -r docker_logs.zip /var/log/harvest cd $WORKSPACE/docker - docker-compose -f prom-stack.yml -f harvest-compose.yml down + docker ps -q | xargs docker stop | xargs docker rm --force ANALYZE_DOCKER_LOGS=1 bash $WORKSPACE/harvest/integration/test/test.sh """ archiveArtifacts artifacts: "docker_logs.zip", fingerprint: true