Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/298.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
Php 哈得逊在菲恩和蚂蚁身上不断失败。有什么提示吗?_Php_Continuous Integration_Hudson_Phpunit_Phing - Fatal编程技术网

Php 哈得逊在菲恩和蚂蚁身上不断失败。有什么提示吗?

Php 哈得逊在菲恩和蚂蚁身上不断失败。有什么提示吗?,php,continuous-integration,hudson,phpunit,phing,Php,Continuous Integration,Hudson,Phpunit,Phing,让我们直接跳到好东西 运行Ant时从控制台收到的错误: phpunit: [exec] PHPUnit 3.2.16 by Sebastian Bergmann. [exec] [exec] Class /var/lib/hudson/jobs/Goals/workspace/Goals/AllTests could not be found in /var/lib/hudson/jobs/Goals/workspace/Goals/AllTests.php.

让我们直接跳到好东西

运行Ant时从控制台收到的错误:

phpunit:
     [exec] PHPUnit 3.2.16 by Sebastian Bergmann.
     [exec] 
     [exec] Class /var/lib/hudson/jobs/Goals/workspace/Goals/AllTests could not be found in /var/lib/hudson/jobs/Goals/workspace/Goals/AllTests.php.
     [exec] Result: 1

phpcpd:
     [exec] The referenced parameter '--log-pmd=/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/pmd.xml' is not registered.
     [exec] Result: 1

pdepend:
     [exec] ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/usr/bin/pdepend', line 57)
     [exec] PHP_Depend 0.9.16 by Manuel Pichler
     [exec] 
     [exec] Invalid directory '/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/phpdepend.xml' added.
     [exec] Result: 2

phpcs:
     [exec] ERROR: The file "/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/checkstyle.xml" does not exist.
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Successfully parsed file /var/lib/hudson/jobs/Goals/workspace/build/logs/checkstyle.xml of module logs with 1 warnings.
[WARNINGS] Parsing warnings in console log...
[TASKS] Scanning workspace files for tasks...
[DRY] Collecting duplicate code analysis files...
Publishing Javadoc
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'build/logs/phpdepend.xml'java.io.FileNotFoundException: /var/lib/hudson/jobs/Goals/workspace/build/logs/phpdepend.xml (No such file or directory)
Publishing Clover coverage report...
Clover xml file does not exist in: /var/lib/hudson/jobs/Goals/workspace/build/coverage called: clover.xml and will not be copied to: /var/lib/hudson/jobs/Goals/builds/2010-07-12_02-31-04/clover.xml
Could not find 'build/coverage/clover.xml'.  Did you generate the XML report for Clover?
[xUnit] Starting to record.
[xUnit] Can't create the path /var/lib/hudson/jobs/Goals/workspace/generatedJUnitFiles. Maybe the directory already exists.
[xUnit] [PHPUnit-5.1.6 (default)] - Processing 1 files with the pattern 'build/logs/*.xml' relative to '/var/lib/hudson/jobs/Goals/workspace'.
[xUnit] [WARNING] - The file '/var/lib/hudson/jobs/Goals/workspace/build/logs/checkstyle.xml' is an invalid file. It has been ignored.
[xUnit] The plugin hasn't been performed correctly: java.io.IOException: No test report files were found. Configuration error?
GitAPI created
[workspace] $ /usr/bin/git tag -d hudson-Goals-31
[workspace] $ /usr/bin/git tag -a -f -m "Hudson Build #31" hudson-Goals-31-FAILURE
运行Phing时:

phpunit:
     [exec] PHPUnit 3.2.16 by Sebastian Bergmann.
     [exec] 
     [exec] Class /var/lib/hudson/jobs/Goals/workspace/Goals/AllTests could not be found in /var/lib/hudson/jobs/Goals/workspace/Goals/AllTests.php.
     [exec] Result: 1

phpcpd:
     [exec] The referenced parameter '--log-pmd=/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/pmd.xml' is not registered.
     [exec] Result: 1

pdepend:
     [exec] ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/usr/bin/pdepend', line 57)
     [exec] PHP_Depend 0.9.16 by Manuel Pichler
     [exec] 
     [exec] Invalid directory '/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/phpdepend.xml' added.
     [exec] Result: 2

phpcs:
     [exec] ERROR: The file "/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/checkstyle.xml" does not exist.
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Successfully parsed file /var/lib/hudson/jobs/Goals/workspace/build/logs/checkstyle.xml of module logs with 1 warnings.
[WARNINGS] Parsing warnings in console log...
[TASKS] Scanning workspace files for tasks...
[DRY] Collecting duplicate code analysis files...
Publishing Javadoc
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'build/logs/phpdepend.xml'java.io.FileNotFoundException: /var/lib/hudson/jobs/Goals/workspace/build/logs/phpdepend.xml (No such file or directory)
Publishing Clover coverage report...
Clover xml file does not exist in: /var/lib/hudson/jobs/Goals/workspace/build/coverage called: clover.xml and will not be copied to: /var/lib/hudson/jobs/Goals/builds/2010-07-12_02-31-04/clover.xml
Could not find 'build/coverage/clover.xml'.  Did you generate the XML report for Clover?
[xUnit] Starting to record.
[xUnit] Can't create the path /var/lib/hudson/jobs/Goals/workspace/generatedJUnitFiles. Maybe the directory already exists.
[xUnit] [PHPUnit-5.1.6 (default)] - Processing 1 files with the pattern 'build/logs/*.xml' relative to '/var/lib/hudson/jobs/Goals/workspace'.
[xUnit] [WARNING] - The file '/var/lib/hudson/jobs/Goals/workspace/build/logs/checkstyle.xml' is an invalid file. It has been ignored.
[xUnit] The plugin hasn't been performed correctly: java.io.IOException: No test report files were found. Configuration error?
GitAPI created
[workspace] $ /usr/bin/git tag -d hudson-Goals-31
[workspace] $ /usr/bin/git tag -a -f -m "Hudson Build #31" hudson-Goals-31-FAILURE

那么,你知道怎么回事吗?我让它在当地建造得很好。在我的VPS上,我们遇到了这么多麻烦。

看起来你有一些路径问题。您的路径
/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/phpdepend.xml
似乎是一个文件,而不是路径

[exec]目录无效 “/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/phpdepend.xml” 补充说


看起来您有一些路径问题。您的路径
/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/phpdepend.xml
似乎是一个文件,而不是路径

[exec]目录无效 “/var/lib/hudson/jobs/Goals/workspace/Goals/build/logs/phpdepend.xml” 补充说