Jenkins PHP job failed Jenkins PHP job failed jenkins jenkins

Jenkins PHP job failed


Please check your build file

your build config file can not create 'junit.xml' file

or

check phpunit.xml file

<logging>    <log type="coverage-html" target="coverage"/>    <log type="coverage-clover" target="clover/clover.xml"/>    <log type="coverage-crap4j" target="logs/crap4j.xml"/>    <log type="junit" target="logs/junit.xml" logIncompleteSkipped="false"/></logging>


What's not clear?

[CRAP4J] Collecting Crap4J analysis files...[CRAP4J] Searching for report files within build/logs/crap4j.xml[CRAP4J] Using the new FileSetBuilder[CRAP4J] No crap4j report files were found. Configuration error?Build step 'Report Crap' changed build result to FAILUREBuild step 'Report Crap' marked build as failure`

Your Crap4J plugin is setting the build result to failed.

It also says that it cannot find report files, so your build is not producing the .xml's that the plugin needs, or you didn't specify the location of those files