parent
7b89d151c1
commit
2877482e40
1 changed files with 3 additions and 2 deletions
|
@ -15,9 +15,10 @@ for I in `perl -ne 'print "$1\n" if (m,<id>([^<]+)</id>,)' pom.xml`; do
|
||||||
echo "========"
|
echo "========"
|
||||||
echo "======== Profile $I"
|
echo "======== Profile $I"
|
||||||
echo "========"
|
echo "========"
|
||||||
mvn -B test "-P$I" "$@"
|
mvn -B -Dsurefire.timeout=600 test "-P$I" "$@" 2>&1 | tee /tmp/surefire.out
|
||||||
EXIT_CODE=$[$EXIT_CODE + $?]
|
EXIT_CODE=$[$EXIT_CODE + ${PIPESTATUS[0]}]
|
||||||
mv target/surefire-reports "target/surefire-reports-$I"
|
mv target/surefire-reports "target/surefire-reports-$I"
|
||||||
|
perl -ne "print '::error::| $I | Timed out.' . \"\n\" if (/There was a timeout in the fork/)" /tmp/surefire.out
|
||||||
done
|
done
|
||||||
|
|
||||||
## If the jacoco file is present, generate reports in each of the model projects
|
## If the jacoco file is present, generate reports in each of the model projects
|
||||||
|
|
Loading…
Reference in a new issue