File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,8 @@ steps:
3131- bash : src/ci/scripts/should-skip-this.sh
3232 displayName : Decide whether to run this job
3333
34- # Spawn a background process to collect CPU usage statistics which we'll upload
35- # at the end of the build. See the comments in the script here for more
36- # information.
37- - bash : python src/ci/cpu-usage-over-time.py &> cpu-usage.csv &
38- displayName : " Collect CPU-usage statistics in the background"
34+ - bash : src/ci/scripts/collect-cpu-stats.sh
35+ displayName : Collect CPU-usage statistics in the background
3936
4037- bash : src/ci/scripts/dump-environment.sh
4138 displayName : Show the current environment
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Spawn a background process to collect CPU usage statistics which we'll upload
3+ # at the end of the build. See the comments in the script here for more
4+ # information.
5+
6+ set -euo pipefail
7+ IFS=$' \n\t '
8+
9+ python src/ci/cpu-usage-over-time.py & > cpu-usage.csv &
You can’t perform that action at this time.
0 commit comments