Skip to content

Commit 98fb6eb

Browse files
authored
RUST-1154 Fix junit-report-merger install failures (#594)
1 parent b7edc96 commit 98fb6eb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.evergreen/install-dependencies.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,16 @@ cargo install cargo2junit
3333
source ./.evergreen/env.sh
3434

3535
# Install tool for merging different junit reports into a single one
36-
npm install -g junit-report-merger
36+
set +o errexit
37+
set -o pipefail
38+
39+
npm install -g junit-report-merger --cache $(mktemp -d) 2>&1 | tee npm-install-output
40+
RESULT=$?
41+
MATCH=$(grep -o '/\S*-debug.log' npm-install-output)
42+
if [[ $MATCH != "" ]]; then
43+
echo ===== BEGIN NPM LOG =====
44+
cat $MATCH
45+
echo ===== END NPM LOG =====
46+
fi
3747

48+
exit $RESULT

0 commit comments

Comments
 (0)