Skip to content

Commit 7cc75fd

Browse files
committed
Track raw JSONs from xcresulttool
1 parent c82a2f1 commit 7cc75fd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ done
5757
echo "--- :arrow_up: Upload build metrics to Apps Metrics"
5858
ruby .buildkite/commands/upload_metrics.rb
5959

60+
echo "--- :xcode: Store raw result JSON"
61+
xcrun xcresulttool get build-results --path build/results/Simplenote.xcresult --format json > build-results.json
62+
xcrun xcresulttool get test-results tests --path build/results/Simplenote.xcresult --format json > tests-resuls.json
63+
6064
echo "--- 🚦 Report Tests Status"
6165
if [[ $TESTS_EXIT_STATUS -eq 0 ]]; then
6266
echo "Unit Tests seems to have passed (exit code 0). All good 👍"

.buildkite/pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ steps:
2121
artifact_paths:
2222
- "build/results/*"
2323
- DerivedData/**/*.xcactivitylog
24+
- build-results.json
25+
- tests-results.json

0 commit comments

Comments
 (0)