Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jenkins PHP作业失败_Php_Jenkins_Continuous Integration - Fatal编程技术网

Jenkins PHP作业失败

Jenkins PHP作业失败,php,jenkins,continuous-integration,Php,Jenkins,Continuous Integration,我已经按照Jenkins-PHP.org上的说明为我的PHP应用程序设置了Jenkins。 我在安装各种PEAR模块时遇到了一些问题,但我“认为”它们现在都已分类。 我在SVN找到了我的消息来源,詹金斯正在调查 我正在使用php模板作业,并根据说明对其进行了自定义 当我运行作业时,我得到以下错误 BUILD SUCCESSFUL Total time: 5 seconds [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTY

我已经按照Jenkins-PHP.org上的说明为我的PHP应用程序设置了Jenkins。 我在安装各种PEAR模块时遇到了一些问题,但我“认为”它们现在都已分类。 我在SVN找到了我的消息来源,詹金斯正在调查

我正在使用php模板作业,并根据说明对其进行了自定义

当我运行作业时,我得到以下错误

BUILD SUCCESSFUL
Total time: 5 seconds
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml
[PMD] Collecting PMD analysis files...
[PMD] Finding all files that match the pattern build/logs/pmd.xml
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
Recording plot data
Publishing Clover coverage report...
Clover xml file does not exist in: /var/lib/jenkins/jobs/CasperCheck/workspace called: build/logs/clover.xml and will not be copied to: /var/lib/jenkins/jobs/CasperCheck/builds/2013-10-26_12-51-32/cloverphp/clover.xml
Could not find 'build/coverage/build/logs/clover.xml'.  Did you generate the XML report for Clover?
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /var/lib/jenkins/jobs/CasperCheck/workspace/build/api to /var/lib/jenkins/jobs/CasperCheck/builds/2013-10-26_12-51-32/htmlreports/API_Documentation
ERROR: Specified HTML directory '/var/lib/jenkins/jobs/CasperCheck/workspace/build/api' does not exist.
Build step 'Publish HTML reports' changed build result to FAILURE
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/jobs/CasperCheck/workspace' for the testing framework 'PHPUnit-3.x (default)'.  Did you enter a pattern relative to the correct directory?  Did you generate the result report(s) for 'PHPUnit-3.x (default)'?
[xUnit] [ERROR] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build/logs/junit.xml'. Configuration error?.
[xUnit] [INFO] - Fail BUILD because 'set build failed if errors' option is activated.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'build/logs/jdepend.xml'java.io.FileNotFoundException: /var/lib/jenkins/jobs/CasperCheck/workspace/build/logs/jdepend.xml (No such file or directory)
Finished: FAILURE
我不完全确定这里发生了什么。这可能是权限问题吗


谢谢

这闻起来像是工作区问题的相对路径。/var/lib/jenkins/jobs/CasperCheck/workspace/build/exist吗?

这听起来像是工作区问题的相对路径。/var/lib/jenkins/jobs/CasperCheck/workspace/build/exist吗?

我发现了这个问题。这张票有助于


另外,我在为一些插件放置其他构建/配置文件时遇到了一些问题,如果我充分阅读了php jenkins模板站点上的说明,这些问题本可以避免

我发现了这个问题。这张票有助于

另外,我在为一些插件放置其他构建/配置文件时遇到了一些问题,如果我充分阅读了php jenkins模板站点上的说明,这些问题本可以避免