Fix gerrit link (#1997)
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index f5d7268..e73ff82 100755
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -3073,10 +3073,10 @@
raise BuildkiteException("Couldn't get host name from %s" % git_repository)
commit = os.getenv("BUILDKITE_COMMIT")
line1 = f"The transformed code used in this pipeline can be found under https://{host}-review.googlesource.com/q/{commit}"
- line2 = f"Fetch the source with `git fetch https://{host}.googlesource.com/bazel {commit} && git checkout FETCH_HEAD`"
+ line2 = f"\n\nFetch the source with `git fetch https://{host}.googlesource.com/bazel {commit} && git checkout FETCH_HEAD`"
commands = [
- 'buildkite-agent annotate --style=info "{}" --context "gerrit"'.format(line1),
- 'buildkite-agent annotate --style=info "{}" --append --context "gerrit"'.format(line2),
+ "buildkite-agent annotate --style=info '{}' --context 'gerrit'".format(line1),
+ "buildkite-agent annotate --style=info '{}' --append --context 'gerrit'".format(line2),
]
pipeline_steps.append(
create_step(