Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Geode: Updates to make builds more stable
[infra/cicd.git]
/
jjb
/
geode
/
apache-geode-test
/
execute_tests.sh
diff --git
a/jjb/geode/apache-geode-test/execute_tests.sh
b/jjb/geode/apache-geode-test/execute_tests.sh
index d0371d291208a5a5a83ab3b46897eaffeb23028b..37231ecd11049c5f12d913e1ce2074b32b69f053 100755
(executable)
--- 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}"
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