You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mvn $MVN_ARGS "-Daicore.landscape=${{ matrix.environment }}" | tee mvn_output.log # tee writes to both the console and a file
45
+
(mvn $MVN_ARGS "-Daicore.landscape=${{ matrix.environment }}"; echo $? > mvn_exit_code) | tee mvn_output.log # tee writes to both the console and a file
46
+
exit_code=$(cat mvn_exit_code)
47
+
exit $exit_code
46
48
47
49
awk '/Results:/, /----/' mvn_output.log > test_error.log || true # true ensures the step doesn't fail if no match is found.
48
50
ERROR_MSG=$(cat test_error.log | tail +4 | head -n -4 | sed ':a;N;$!ba;s/\n/\\n/g') # Slack formatting
0 commit comments