File tree Expand file tree Collapse file tree 1 file changed +14
-17
lines changed
Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -42,23 +42,20 @@ UNITSUCCESS=$?
4242touch ${DIR} /webapp/var/log/test.log
4343cp ${DIR} /webapp/var/log/test.log " $ARTIFACTS " /test.log
4444
45- exit 0
46-
47- set -e
48- CNT=0
49- THRESHOLD=32
50- if [ $CODECOVERAGE -eq 1 ]; then
51- CNT=$( sed -n ' /Generating code coverage report/,$p' " $ARTIFACTS " /phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
52- fi
53-
54- # Make sure the log exists before copy
55- touch ${DIR} /webapp/var/log/test.log
56- cp ${DIR} /webapp/var/log/test.log " $ARTIFACTS " /test.log
57-
58- if [ $UNITSUCCESS -ne 0 ] || [ $CNT -gt $THRESHOLD ]; then
59- exit 1
60- fi
61-
45+ # set -e
46+ # CNT=0
47+ # THRESHOLD=32
48+ # if [ $CODECOVERAGE -eq 1 ]; then
49+ # CNT=$(sed -n '/Generating code coverage report/,$p' "$ARTIFACTS"/phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
50+ # if [ $CNT -gt $THRESHOLD ]; then
51+ # UNITSUCCESS=1
52+ # fi
53+ # fi
54+ #
55+ # if [ $UNITSUCCESS -ne 0 ] || [ $CNT -gt $THRESHOLD ]; then
56+ # exit 1
57+ # fi
58+ #
6259if [ $CODECOVERAGE -eq 1 ]; then
6360 section_start " Upload code coverage"
6461 # Only upload when we got working unit-tests.
You can’t perform that action at this time.
0 commit comments