Environment:Plugin version 0.3.3
Jenkins 1.509.4 (LTS)
I got a fairly large PHPUnit test suite that takes up to 40 minutes to run. Due to some weird bug in PHP or Xdebug, it ends segfaulting when PHP shutdown. Regardless, the clover.xml is properly generated and could be made a report.
Alas, the plugin does not generate the clover report because of the build failure (added URL to console log, copied relevant part below):
/tmp/hudson2299744543392632448.sh: line 8: 6928 Segmentation fault nice -n 19 php tests/phpunit/phpunit.php --with-phpunitdir /srv/deployment/integration/phpunit/vendor/phpunit/phpunit --exclude-group Dump,Broken,ParserFuzz,Stub --coverage-clover log/clover.xml --coverage-html /srv/org/wikimedia/integration/cover/mediawiki-core/master/php
Build step 'Execute shell' marked build as failure
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure
It would be very nice to have an option detecting whether the clover.xml is non empty and fresh and generate the coverage report regardless of the build status.