File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,8 @@ steps:
31
31
- bash : src/ci/scripts/should-skip-this.sh
32
32
displayName : Decide whether to run this job
33
33
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
39
36
40
37
- bash : src/ci/scripts/dump-environment.sh
41
38
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