Add extra Bazel verbose options during tests

When executing plugin tests, use the same Bazel options
used for the Gerrit verifier job, which adds more verbosity
to test failures and a bunch of other settings.

Change-Id: I17a2a7c12ac792b0293e52da4772834c8b3c1f56
diff --git a/jenkins/gerrit-bazel-build-plugin-branch.sh b/jenkins/gerrit-bazel-build-plugin-branch.sh
index 96d6fb9..c72e1ea 100644
--- a/jenkins/gerrit-bazel-build-plugin-branch.sh
+++ b/jenkins/gerrit-bazel-build-plugin-branch.sh
@@ -20,7 +20,14 @@
 
 if TEST_TARGETS=$(echo "$TARGETS" | tr ' ' '\n' | grep test)
 then
-    bazel test --spawn_strategy=standalone --genrule_strategy=standalone $TEST_TARGETS
+    BAZEL_OPTS="--spawn_strategy=standalone --genrule_strategy=standalone \
+                   --test_output errors \
+                   --test_summary detailed --flaky_test_attempts 3 \
+                   --test_verbose_timeout_warnings --build_tests_only \
+                   --nocache_test_results \
+                   --test_timeout 3600 \
+                   --test_tag_filters=-elastic,-flaky"
+    bazel test $BAZEL_OPTS $TEST_TARGETS
 fi
 
 for JAR in $(find bazel-genfiles/plugins/{name} -name {name}*.jar)