X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fgeode%2Fapache-geode-test%2Fexecute_tests.sh;h=37231ecd11049c5f12d913e1ce2074b32b69f053;hb=fcab5c167de0c42fc3ea0a7179ec3e76ae93c507;hp=d0371d291208a5a5a83ab3b46897eaffeb23028b;hpb=5fe5de7dbaf93789b5fd852e7e711a388a034f07;p=infra%2Fcicd.git diff --git a/jjb/geode/apache-geode-test/execute_tests.sh b/jjb/geode/apache-geode-test/execute_tests.sh index d0371d29..37231ecd 100755 --- a/jjb/geode/apache-geode-test/execute_tests.sh +++ b/jjb/geode/apache-geode-test/execute_tests.sh @@ -90,3 +90,8 @@ EXEC_COMMAND="bash -c 'echo Building with: $SEP \ GRADLE_JVM=${JAVA_BUILD_PATH} ./gradlewStrict ${GRADLE_ARGS}'" echo "${EXEC_COMMAND}" eval "${EXEC_COMMAND}" + +# Cleanup +# Make sure all test containers are stopped and removed when tests are finished +docker stop $(docker ps -a -q) +docker rm $(docker ps -a -q) \ No newline at end of file