Skip to content

Commit 710c9f9

Browse files
committed
[ci] Fix ci/bazelisk.sh printing to stdout
Signed-off-by: James Wainwright <[email protected]>
1 parent 8845b9a commit 710c9f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/bazelisk.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ -n "${PWD_OVERRIDE}" ]]; then
1111
cd "${PWD_OVERRIDE}" || exit
1212
fi
1313

14-
echo "Running bazelisk in $(pwd)."
14+
echo "Running bazelisk in $(pwd)." >&2
1515

1616
# An additional bazelrc must be synthesized to specify precisely how to use the
1717
# GCP bazel cache.
@@ -20,10 +20,10 @@ GCP_BAZELRC="$(mktemp /tmp/XXXXXX.bazelrc)"
2020
trap 'rm ${GCP_BAZELRC}' EXIT
2121

2222
if [[ -n "$GCP_CREDS_FILE" && -f "$GCP_CREDS_FILE" ]]; then
23-
echo "Applying GCP cache key; will upload to the cache."
23+
echo "Applying GCP cache key; will upload to the cache." >&2
2424
echo "build --google_credentials=${GCP_CREDS_FILE}" >> "${GCP_BAZELRC}"
2525
else
26-
echo "No key/invalid path to key. Download from cache only."
26+
echo "No key/invalid path to key. Download from cache only." >&2
2727
echo "build --remote_upload_local_results=false" >> "${GCP_BAZELRC}"
2828
fi
2929

0 commit comments

Comments
 (0)