Revert "gerrit-bazel-build: build all targets"

This reverts commit 42899d05011f8516a796a974d08b5b3f6d496b51.

Reason for revert: To synchronize the build target with the cache
pre-warm step during CI image build we would also have to build
//... on all branches during image build. Unfortunately this would
produce to big docker image size, that cannot be even pulled.

Change-Id: I87a8fc784a10addf43c7d3db740496a5b3b60dd5
diff --git a/jenkins/gerrit-bazel-build.sh b/jenkins/gerrit-bazel-build.sh
index e6c1317..7fc7ebb 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 --java_toolchain //tools:error_prone_warnings_toolchain"
 
-bazel build $BAZEL_OPTS //...
+bazel build $BAZEL_OPTS plugins:core release api
 tools/eclipse/project.py