1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-06 09:09:19 +02:00

Provide the log for the individual tests.

This commit is contained in:
Marcus Holl
2019-02-27 13:09:06 +01:00
parent 78dbbb751d
commit f10f23bc4c

View File

@@ -42,6 +42,17 @@ done
kill -PIPE "${notificationThreadPid}" &>/dev/null kill -PIPE "${notificationThreadPid}" &>/dev/null
#
# provide the logs
for p in "${processes[@]}"
do
testCase=${p%:*}
processId=${p#*:}
echo "[INFO] === START === Logs for test case \"${testCase}\" ===."
cat "${TEST_CASE_ROOT}/log.txt"
echo "[INFO] === END === Logs for test case \"${testCase}\" ===."
done
# #
# list test case status # list test case status
echo "[INFO] Build status:" echo "[INFO] Build status:"