Skip to content

Commit 00f31e0

Browse files
committed
Run Ruby script for Apps Metrics last
To see the output of other steps if it keeps timing out
1 parent 020ea6b commit 00f31e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.buildkite/commands/build-and-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ for file in DerivedData/Logs/Build/*.xcactivitylog; do
6161
echo "$filename queued"
6262
done
6363

64-
echo "--- :arrow_up: Upload build metrics to Apps Metrics"
65-
ruby .buildkite/commands/upload_metrics.rb
66-
6764
echo "--- :xcode: Store raw result JSON"
6865
xcrun xcresulttool get build-results --path build/results/Simplenote.xcresult --format json > build-results.json
6966
xcrun xcresulttool get test-results tests --path build/results/Simplenote.xcresult --format json > tests-results.json
@@ -83,6 +80,9 @@ xclogparser parse \
8380
--derived_data ./DerivedData \
8481
--reporter json > build/reports/report.json
8582

83+
echo "--- :arrow_up::ruby: Upload build metrics to Apps Metrics"
84+
ruby .buildkite/commands/upload_metrics.rb
85+
8686
echo "~~~ Annotate build"
8787
buildkite-agent annotate "[View build report](artifact://build/reports/index.html)" \
8888
--style "info"

0 commit comments

Comments
 (0)