GEODE-8603: fix StressNew for support branches (#5717)

* GEODE-8603: fix StressNew for support branches

* all three test compile targets are needed
diff --git a/ci/scripts/repeat-new-tests.sh b/ci/scripts/repeat-new-tests.sh
index dd2d220..90eb3ce 100755
--- a/ci/scripts/repeat-new-tests.sh
+++ b/ci/scripts/repeat-new-tests.sh
@@ -50,7 +50,7 @@
   echo "Building and saving classpath"
   pushd geode >> /dev/null
     # Do this twice since devBuild still dumps a warning string to stdout.
-    ./gradlew --console=plain -q devBuild 2>/dev/null
+    ./gradlew --console=plain -q compileTestJava compileIntegrationTestJava compileDistributedTestJava devBuild 2>/dev/null
     ./gradlew --console=plain -q printTestClasspath 2>/dev/null >/tmp/classpath.txt
   popd >> /dev/null
 }