Skip to content

Commit

Permalink
allow xz to pick num threads
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Rodgman <[email protected]>
  • Loading branch information
daverodgman committed Jan 3, 2024
1 parent 86fb584 commit ba120af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/analysis.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def process_outcomes() {
LC_ALL=C grep ';FAIL;' outcomes.csv >"failures.csv"
# Compress the failure list if it is large (for some value of large)
if [ "$(wc -c <failures.csv)" -gt 99999 ]; then
xz -0 -T8 failures.csv
xz -0 -T0 failures.csv
fi
'''
}
Expand All @@ -261,7 +261,7 @@ fi
}
}
} finally {
sh 'xz -0 -T8 outcomes.csv'
sh 'xz -0 -T0 outcomes.csv'
archiveArtifacts(artifacts: 'outcomes.csv.xz, failures.csv*',
fingerprint: true,
allowEmptyArchive: true)
Expand Down

0 comments on commit ba120af

Please sign in to comment.