Skip to content

Commit

Permalink
Print generated pipeline before upload to buildkite (#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
coeuvre authored Feb 1, 2022
1 parent a038ddd commit f1f2036
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 152 deletions.
4 changes: 2 additions & 2 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -2579,7 +2579,7 @@ def upload_project_pipeline_step(
pipeline_command += " --http_config=" + http_config
if file_config:
pipeline_command += " --file_config=" + file_config
pipeline_command += " | buildkite-agent pipeline upload"
pipeline_command += " | tee /dev/tty | buildkite-agent pipeline upload"

return create_step(
label="Setup {0}".format(project_name),
Expand Down Expand Up @@ -2926,7 +2926,7 @@ def print_bazel_downstream_pipeline(
fetch_bazelcipy_command(),
fetch_incompatible_flag_verbose_failures_command(),
PLATFORMS[DEFAULT_PLATFORM]["python"]
+ " incompatible_flag_verbose_failures.py --build_number=%s | buildkite-agent pipeline upload"
+ " incompatible_flag_verbose_failures.py --build_number=%s | tee /dev/tty | buildkite-agent pipeline upload"
% current_build_number,
],
platform=DEFAULT_PLATFORM,
Expand Down
Loading

0 comments on commit f1f2036

Please sign in to comment.