以下是问题以及底部的完整报告...... 我从http://jenkins-php.org/
复制了我的项目模板虽然我是Jenkins的新手,但我自己配置了所有东西,但此时仍然坚持......
任何人都可以向我提供此文件“Clover xml文件中不存在”并让我知道放在哪里...问因为即使我放置一个空白的xml文件我也得到同样的错误
1)Clover xml文件不存在于:/ var / lib / jenkins / jobs / moneyproject / workspace中:build / logs / clover.xml,不会被复制到:/ var / lib / jenkins / jobs / moneyproject / builds /13/cloverphp/clover.enter code here
xml
找不到'build / coverage / build / logs / clover.xml'。您是否为Clover生成了XML报告?
对Crap4j没有任何想法 2)[CRAP4J]没有找到crap4j报告文件。配置错误? 构建步骤'Report Crap'将构建结果更改为FAILURE 构建步骤'Report Crap'将构建标记为失败
请帮助我理解这一部分 3)[xUnit] [INFO] - 转换'/var/lib/jenkins/jobs/moneyproject/workspace/build/logs/junit.xml'。 [xUnit] [INFO] - 检查“测试失败”阈值。
4) Finished: FAILURE
Here is the Entire Report
BUILD SUCCESSFUL
Total time: 53 seconds
[WARNINGS] Parsing warnings in console log with parser PHP Runtime
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml
[CHECKSTYLE] Parsing 1 file in /var/lib/jenkins/jobs/moneyproject/workspace
[CHECKSTYLE] Successfully parsed file /var/lib/jenkins/jobs/moneyproject/workspace/build/logs/checkstyle.xml with 0 unique warnings and 0 duplicates.
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
[DRY] Parsing 1 file in /var/lib/jenkins/jobs/moneyproject/workspace
[DRY] Successfully parsed file /var/lib/jenkins/jobs/moneyproject/workspace/build/logs/pmd-cpd.xml with 0 unique warnings and 0 duplicates.
Recording plot data
Publishing Clover coverage report...
Clover xml file does not exist in: /var/lib/jenkins/jobs/moneyproject/workspace called: build/logs/clover.xml and will not be copied to: /var/lib/jenkins/jobs/moneyproject/builds/13/cloverphp/clover.xml
Could not find 'build/coverage/build/logs/clover.xml'. Did you generate the XML report for Clover?
[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 FAILURE
Build step 'Report Crap' marked build as failure
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /var/lib/jenkins/jobs/moneyproject/workspace/build/api to /var/lib/jenkins/jobs/moneyproject/builds/13/htmlreports/API_Documentation
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/jobs/moneyproject/workspace' for the testing framework 'PHPUnit-3.x (default)'.
[xUnit] [INFO] - Converting '/var/lib/jenkins/jobs/moneyproject/workspace/build/logs/junit.xml' .
[xUnit] [INFO] - Check 'Failed Tests' threshold.
[xUnit] [INFO] - Check 'Skipped Tests' threshold.
[xUnit] [INFO] - Setting the build status to FAILURE
[xUnit] [INFO] - Stopping recording.
[JDepend] JDepend plugin is ready
[JDepend] Found 188 classes in 1 packages
Finished: FAILURE
谢谢!
答案 0 :(得分:0)
你的crap4j插件说它找不到报告文件,你在构建位置看到reports.xml文件吗?
答案 1 :(得分:0)
并且修复此问题是安装libxml2-utils php5-xdebug。现在我只想在需要时避免PHPUnit测试......听起来很简单,但是我从代码和GUI(数据库设置)中删除了所有实例,但我仍然可以看到这个错误,我也无法生成phpdoc如果项目没有测试文件