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=$?
42
42
touch ${DIR} /webapp/var/log/test.log
43
43
cp ${DIR} /webapp/var/log/test.log " $ARTIFACTS " /test.log
44
44
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
+ #
62
59
if [ $CODECOVERAGE -eq 1 ]; then
63
60
section_start " Upload code coverage"
64
61
# Only upload when we got working unit-tests.
You can’t perform that action at this time.
0 commit comments