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

Avoid green test in case no test case has been found.

This commit is contained in:
Marcus Holl
2019-02-27 08:56:09 +01:00
parent 9a028e18dd
commit f09c243193

View File

@@ -21,6 +21,8 @@ do
let i=i+1
done
[ "${i}" == 0 ] && { echo "No tests has been executed."; exit 1; }
#
# wait for the test cases and cat the log
for p in "${processes[@]}"