2013-10-26 4 views
2

jenkins-php.org의 지침에 따라 PHP 응용 프로그램 용 Jenkins를 설정했습니다. 다양한 PEAR 모듈을 설치할 때 몇 가지 문제가 있었지만 지금은 모두 정렬되어 있다고 생각합니다. SVN에서 내 소스를 가지고 있으며 Jenkins가이 소스를 가져 왔습니다.Jenkins PHP 작업 실패

저는 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 

는 여기 세드릭 완전히 확실하지 않다. 아마도 권한 문제일까요?

감사합니다.

답변

-1

문제점을 발견했습니다. 나는의 지침을 읽은 경우 도움이 티켓 ...

Jenkins-Job fails

플러스, 내가 피할 수있는 플러그인에 대한 몇 가지에 대한 몇 가지 다른 빌드/설정 파일의 위치와 몇 가지 더 문제가 있었다 PHP 젠킨스 템플릿 사이트를 완전히!

0

이것은 작업 영역 문제의 상대 경로와 같은 냄새가납니다./var/lib/jenkins/jobs/CasperCheck/workspace/build/exist입니까?