Skip to content

Commit c048bb7

Browse files
committed
update failure message
1 parent 27dda20 commit c048bb7

File tree

1 file changed

+2
-3
lines changed
  • src/test/resources/ci/scripts

1 file changed

+2
-3
lines changed

src/test/resources/ci/scripts/exec.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ main() {
9696
fi
9797

9898
# If there were any errors, gather some debug data before exiting.
99-
rc=$?
100-
if [ "$rc" -ne 0 ]; then
101-
echo "ERROR: Failure while driving npm install on plugin. rc: ${rc}."
99+
if [ "$failure" = "true" ]; then
100+
echo "ERROR: Failure occurred while running the tests."
102101

103102
if [ $TYPE = "TEST" ]; then
104103
echo "DEBUG: Maven Liberty messages.log:\n"

0 commit comments

Comments
 (0)