Skip to content

Commit

Permalink
Fix LC_ALL in wrong place
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Rodgman <[email protected]>
  • Loading branch information
daverodgman committed Jan 2, 2024
1 parent 828caca commit 86fb584
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 @@ -246,10 +246,10 @@ def process_outcomes() {
// as test description or test suite was "FAIL".
if (gen_jobs.failed_builds) {
sh '''\
grep ';FAIL;' outcomes.csv >"failures.csv"
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
LC_ALL=C xz -0 -T8 failures.csv
xz -0 -T8 failures.csv
fi
'''
}
Expand Down

0 comments on commit 86fb584

Please sign in to comment.