gerrit-bazel-build: build all targets

The build is only building "plugins:core", "release" and "api".

Later when the tests are executed, they are filtered to exclude the
ones that are flaky and the ones that require docker. A side effect
of that is that the filtered tests are not compiled, which means we
potentially miss build failures like the one reported in issue 9271
and fixed in [1].

Update the build script to build all targets. This will increase the
build time, but will prevent any future build breakages like the one
described, so this is a worthwhile tradeoff.

[1] https://gerrit-review.googlesource.com/c/gerrit/+/185219

Change-Id: I41c6978c7a86ae3562e026680674989b49033b3f
diff --git a/jenkins/gerrit-bazel-build.sh b/jenkins/gerrit-bazel-build.sh
index 863fd1d..7e401f9 100644
--- a/jenkins/gerrit-bazel-build.sh
+++ b/jenkins/gerrit-bazel-build.sh
@@ -5,5 +5,5 @@
 
 export BAZEL_OPTS="--spawn_strategy=standalone --genrule_strategy=standalone"
 
-bazel build $BAZEL_OPTS plugins:core release api
+bazel build $BAZEL_OPTS //...
 tools/eclipse/project.py