mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Bug 1356659 - Cut down the number of uploaded files for the hazard analysis, for clarity in Job Details, r=jonco
MozReview-Commit-ID: 333JhB3qSmX --HG-- extra : rebase_source : 00a1b0d10cada91e74592886c5d93dab90eea01b extra : histedit_source : 4e7c0a8ddfd145f51b1440dc10a3dda931b31c30
This commit is contained in:
parent
7803842b0a
commit
faa85c1b79
@ -114,7 +114,16 @@ function grab_artifacts () {
|
||||
# Do not error out if no files found
|
||||
shopt -s nullglob
|
||||
set +e
|
||||
for f in *.txt *.lst run-analysis.sh; do
|
||||
local important
|
||||
important=(refs.txt unnecessary.txt hazards.txt gcFunctions.txt allFunctions.txt heapWriteHazards.txt)
|
||||
|
||||
# Bundle up the less important but still useful intermediate outputs,
|
||||
# just to cut down on the clutter in treeherder's Job Details pane.
|
||||
tar -acvf "${artifacts}/hazardIntermediates.tar.xz" --exclude-from <(for f in "${important[@]}"; do echo $f; done) *.txt *.lst build_xgill.log
|
||||
|
||||
# Upload the important outputs individually, so that they will be
|
||||
# visible in Job Details and accessible to automated jobs.
|
||||
for f in "${important[@]}"; do
|
||||
gzip -9 -c "$f" > "${artifacts}/$f.gz"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user