ant - Jenkins PHP job failed -
a few days wrestling jenkins , errors gave me. have things stabilized somewhat, can not understand, because build fails. that's earn , can not figure out i'm wrong.
consider following 2 topics: jenkins php job failing , jenkins-job fails
but can not find solution problem.
[workspace] $ ant buildfile: /var/lib/jenkins/jobs/mtr-cms/workspace/build.xml clean: [delete] deleting directory /var/lib/jenkins/jobs/mtr-cms/workspace/build/coverage [delete] deleting directory /var/lib/jenkins/jobs/mtr-cms/workspace/build/logs prepare: [mkdir] created dir: /var/lib/jenkins/jobs/mtr-cms/workspace/build/coverage [mkdir] created dir: /var/lib/jenkins/jobs/mtr-cms/workspace/build/logs phpunit: [exec] phpunit 4.4.0 sebastian bergmann. [exec] [exec] configuration read /var/lib/jenkins/jobs/mtr-cms/workspace/phpunit.xml [exec] [exec] . [exec] [exec] time: 154 ms, memory: 10.00mb [exec] [exec] ok (1 test, 1 assertion) [exec] [exec] generating code coverage report in clover xml format ... done [exec] [exec] generating code coverage report in html format ... done build: build successful total time: 1 second publishing clover coverage report... publishing clover html report... publishing clover xml report... publishing clover coverage results... [crap4j] collecting crap4j analysis files... [crap4j] searching report files within build/logs/crap4j.xml [crap4j] using new filesetbuilder [crap4j] no crap4j report files found. configuration error? build step 'report crap' changed build result failure build step 'report crap' marked build failure [xunit] [info] - starting record. [xunit] [info] - processing phpunit-3.x (default) [xunit] [info] - [phpunit-3.x (default)] - no test report file(s) found pattern 'build/logs/junit.xml' relative '/var/lib/jenkins/jobs/mtr-cms/workspace' testing framework 'phpunit-3.x (default)'. did enter pattern relative correct directory? did generate result report(s) 'phpunit-3.x (default)'? [xunit] [error] - no test reports found metric 'phpunit' resolved pattern 'build/logs/junit.xml'. configuration error?. [xunit] [info] - failing build. [xunit] [info] - there errors when processing test results. [xunit] [info] - skipping tests recording. [xunit] [info] - stop build. finished: failure
what's not clear?
[crap4j] collecting crap4j analysis files... [crap4j] searching report files within build/logs/crap4j.xml [crap4j] using new filesetbuilder [crap4j] no crap4j report files found. configuration error? build step 'report crap' changed build result failure build step 'report crap' marked build failure`
your crap4j plugin setting build result failed.
it says cannot find report files, build not producing .xml
's plugin needs, or didn't specify location of files
Comments
Post a Comment