Skip to content

Commit

Permalink
ci: stop containers after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrinds committed Jun 3, 2024
1 parent fb35727 commit 5bf51bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bf51bf

Please sign in to comment.