Merge branch 'stable-3.9'

* stable-3.9:
  Bazel: Consume auto-value artifacts from plugin-api
  Fix ssh query output for '--depends-on--all' search attribute
  DependencyResolver: Resolve using ChangeNotes input
  Propagator: Reuse change notes more
  Use change notes when available to load messages
  Improve documentation for Search Operators by adding examples

Change-Id: I270a7346f7db3937108ccad5bb82b75660026c6c
diff --git a/.zuul.yaml b/.zuul.yaml
index 8a8e161..7431f6e 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -3,8 +3,19 @@
     parent: gerrit-plugin-build
     pre-run:
         tools/playbooks/install_docker.yaml
+    required-projects:
+      - polymer-bridges
 
 - project:
+    description: |
+      Build the plugin in check, and also build and publish it after
+      every merged commit.
     check:
       jobs:
         - plugins-depends-on-build
+    post:
+      jobs:
+        - plugins-depends-on-build
+        - gerrit-plugin-publish:
+            dependencies:
+              - gerrit-plugin-build
diff --git a/BUILD b/BUILD
index 23dfd14..f177198 100644
--- a/BUILD
+++ b/BUILD
@@ -104,10 +104,16 @@
     size = "medium",
     srcs = ["test/docker/run.sh"],
     args = [
-        "--plugin", plugin_name,
+        "--gerrit-war",
+        "$(location //:gerrit.war)",
+        "--plugin",
+        plugin_name,
         "$(location :depends-on)",
     ],
-    data = [plugin_name] + glob(["test/**"]),
+    data = [
+        "//:gerrit.war",
+        plugin_name,
+    ] + glob(["test/**"]),
     local = True,
     tags = ["docker"],
 )