Remove variables from css

This CL removes all the variables in check-results css. This hardcoding simplifies downstream checks.

Bug: 1319610
Change-Id: I18266b90787862f9d589e834cf757c17755d24bf
Reviewed-by: Gavin Mak <>
Commit-Queue: Aravind Vasudevan <>
1 file changed
tree: 5ab1c5e0376d420d4ca6c70cbf290668663aa1ef
  1. src/
  2. web/
  3. .eslintrc.json
  4. .gitignore
  5. BUILD
  6. codereview.settings

Buildbucket Plugin for Gerrit


This plugin is configured via the buildbucket.config file present in the repo‘s refs/meta/config ref, as well as the same file in all repositories in the repo’s inheritance chain (up to and including All-Projects).

An example buildbucket.config is below:

  git = ""
  gerrit = ""

[bucket "luci.chromium.try"]
[bucket ""]

In the vast majority of cases, the host.git and host.gerrit values are global to the entire host, so that stanza is specified in the All-Projects repo. Buckets and builders, on the other hand, are almost always very repository-specific, and so are only specified in “leaf” repositories which are not in any other repo's inheritance chain.

All changes to buildbucket.config files are instantly reflected. There is no caching period or need to restart the server.

If your project doesn't want the “retry failed” button to show, you can disable it:

  hide-retry-button = true

If your project uses Quick Run/RTS and wants to surface the rocket ship icon 🚀 for builds using Quick Run, you can show it by setting rts_was_used = true in the output properties (example recipe).


This plugin must be placed inside the Gerrit plugins directory:

git clone --recurse-submodules
cd gerrit/plugins
git clone

Web Plugin Development

For running unit tests execute:

bazel test --test_output=all //plugins/buildbucket/web:karma_test

For checking or fixing eslint formatter problems run:

bazel test //plugins/buildbucket/web:lint_test
bazel run //plugins/buildbucket/web:lint_bin -- --fix "$(pwd)/plugins/buildbucket/web"

For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/buildbucket folder:

bazel build //plugins/buildbucket/web:buildbucket
cp -f bazel-bin/plugins/buildbucket/web/buildbucket.js plugins/buildbucket

and let the Dev Helper redirect from .+/plugins/buildbucket/static/buildbucket.js to http://localhost:8081/plugins_/plugins/buildbucket.js.

Note: Testing is disabled for Safari due to this issue.