From 2f82a23f8226feed200a592a7b2557cfa59ba84f Mon Sep 17 00:00:00 2001 From: Benjamin Svobodny Date: Tue, 5 Jul 2022 09:06:35 -0400 Subject: [PATCH] fix: add docker run cleanup --- test/run-qa.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/run-qa.sh b/test/run-qa.sh index e822da5..397d3ba 100755 --- a/test/run-qa.sh +++ b/test/run-qa.sh @@ -91,6 +91,7 @@ success "Correctly failed fast." info "Analyze project..." cd test/example-project/ docker run -v `pwd`:/github/workspace/ --workdir /github/workspace --network $network --env INPUT_PROJECTBASEDIR=/github/workspace --env SONAR_TOKEN=$token --env SONAR_HOST_URL='http://sonarqube:9000' sonarsource/sonarqube-scan-action +docker run -v `pwd`:/github/workspace/ --workdir /github/workspace --network $network --env INPUT_PROJECTBASEDIR=/github/workspace --entrypoint /cleanup.sh sonarsource/sonarqube-scan-action if [[ ! $? -eq 0 ]]; then error "Couldn't run the analysis." exit 1