Skip to content

Commit 5474eba

Browse files
committed
Attempt to upload artifact logs
1 parent 5f760a8 commit 5474eba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.buildkite/commands/run-periphery.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ tar -xf build-products.tar
1515
echo '+++ :periphery: Detecting unused code'
1616
set +e
1717
# This is the script in the root.
18-
./Scripts/Periphery/setup-and-run-periphery.sh --strict --quiet --skip-build --index-store-path 'DerivedData/Index.noindex/DataStore/'
18+
19+
# Construct the absolute path to the index store.
20+
# The command you ran locally that worked used an absolute path. The CI was using a relative path.
21+
# This ensures the CI command is identical to the one that succeeded locally.
22+
INDEX_STORE_PATH="$(pwd)/DerivedData/Index.noindex/DataStore/"
23+
24+
./Scripts/Periphery/setup-and-run-periphery.sh --strict --quiet --skip-build --index-store-path "$INDEX_STORE_PATH"
1925
TESTS_EXIT_STATUS=$?
2026
set -e
2127

0 commit comments

Comments
 (0)