Following error is occuring
unrecognized option --log-xml
Failing task since return code of [/usr/local/bin/phpunit --log-xml **/phpunit.xml .] was 1 while expected 0
i have added ANT and PHPUnit3.3 as tasks to build a PHP process
this problem was occuring due to faulty path. i gave the correct path and the build was successful.
Looks like you use PHPUnit 4 not 3. You should use PHPUnit task instead of PHPUnit 3.3.
Make sure that in PHPUnit task you select "Log test execution to an XML file" option
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this problem was occuring due to faulty path. i gave the correct path and the build was successful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i am getting following erroe when tried to run a bamboo buils. Bamboo version is 5.5.1.
phpunit: | |
31-Jul-2014 11:56:48 | [exec] PHPUnit 4.1.1 by Sebastian Bergmann. |
31-Jul-2014 11:56:48 | [exec] |
31-Jul-2014 11:56:48 | [exec] Configuration read from /var/atlassian/application-data/bamboo/xml-data/build-dir/PTP-PTPP-JOB1/build/phpunit.xml |
31-Jul-2014 11:56:48 | [exec] |
31-Jul-2014 11:56:49 | [exec] ................................ |
31-Jul-2014 11:56:49 | [exec] |
31-Jul-2014 11:56:49 | [exec] Time: 634 ms, Memory: 21.75Mb |
31-Jul-2014 11:56:49 | [exec] |
31-Jul-2014 11:56:49 | [exec] OK (32 tests, 51 assertions) |
31-Jul-2014 11:56:49 | [exec] |
31-Jul-2014 11:56:49 | [exec] Generating code coverage report in Clover XML format ... done |
31-Jul-2014 11:56:49 | [exec] |
31-Jul-2014 11:56:49 | [exec] Generating Crap4J report XML file ... done |
31-Jul-2014 11:56:49 | [exec] |
31-Jul-2014 11:56:50 | [exec] Generating code coverage report in HTML format ... done |
31-Jul-2014 11:56:50 | |
31-Jul-2014 11:56:50 | BUILD SUCCESSFUL |
31-Jul-2014 11:56:50 | Total time: 1 second |
31-Jul-2014 11:56:50 | Parsing test results... |
31-Jul-2014 11:56:50 | File /var/atlassian/application-data/bamboo/xml-data/build-dir/PTP-PTPP-JOB1/**/build/*.xml was ignored because it was modified (Thu Jul 31 11:45:46 IST 2014) before task started (Thu Jul 31 11:56:47 IST 2014) |
31-Jul-2014 11:56:50 | File /var/atlassian/application-data/bamboo/xml-data/build-dir/PTP-PTPP-JOB1/build/phpdox.xml was ignored because it was modified (Wed Jul 30 20:02:44 IST 2014) before task started (Thu Jul 31 11:56:47 IST 2014) |
31-Jul-2014 11:56:50 | File /var/atlassian/application-data/bamboo/xml-data/build-dir/PTP-PTPP-JOB1/build/phpmd.xml was ignored because it was modified (Wed Jul 30 20:02:44 IST 2014) before task started (Thu Jul 31 11:56:47 IST 2014) |
31-Jul-2014 11:56:50 | File /var/atlassian/application-data/bamboo/xml-data/build-dir/PTP-PTPP-JOB1/build/phpunit.xml was ignored because it was modified (Wed Jul 30 20:02:44 IST 2014) before task started (Thu Jul 31 11:56:47 IST 2014) |
31-Jul-2014 11:56:50 | File /var/atlassian/application-data/bamboo/xml-data/build-dir/PTP-PTPP-JOB1/build/travis-ci.xml was ignored because it was modified (Wed Jul 30 20:02:44 IST 2014) before task started (Thu Jul 31 11:56:47 IST 2014) |
31-Jul-2014 11:56:50 | Failing task since test cases were expected but none were found. |
31-Jul-2014 11:56:50 | Finished task 'Build App using ANT' |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.