Skip to content

Commit

Permalink
Merge pull request #40877 from zakkak/2024-05-29-fix-json-stats-uploa…
Browse files Browse the repository at this point in the history
…d-for-simple-with-space

Fix native build stats uploading for "simple with space" IT
  • Loading branch information
gsmet authored May 30, 2024
2 parents f90a3b2 + d375e9d commit 3c88182
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,9 @@ jobs:
fi
tar -xf build-stats.tgz
echo "Tag to be used for uploads: '${TAG}'"
IFS=$'\n'
for bs in $(find ./ -name \*build-output-stats.json); do
jq . $(pwd)/$bs
jq . "$(pwd)/$bs"
# import the stat
curl -s -w '\n' -H "Content-Type: application/json" \
-H "token: $UPLOAD_TOKEN" --post302 --data "@$(pwd)/$bs" "$COLLECTOR_URL/import?t=${TAG}&runnerid=${runner_info_id}" | tee stat_id.json
Expand All @@ -1208,6 +1209,7 @@ jobs:
exit 1
fi
done
build-report:
runs-on: ubuntu-latest
name: Build report
Expand Down

0 comments on commit 3c88182

Please sign in to comment.