Jenkins用ant构建:exec返回:1用phpunit?

时间:2013-11-07 09:57:14

标签: php ant build jenkins phpunit

我是jenkins的新手,我尝试与ant一起执行一些代码分析。我使用了本教程http://jenkins-php.org/中的构建XML。 但我总是遇到这样的错误:

/var/www/ekc/build.xml:117:exec returned: 2

所以我使用了这个解决方案:StackOverflow question

但是现在我得到了这个错误:

/var/www/ekc/build.xml:117:exec returned: 1

这是我的build.xml

 <target name="phpunit" description="Run unit tests with PHPUnit">
  <exec executable="phpunit" failonerror="true">
     <arg line="--log-junit ${basedir}/build/logs/phpunit.xml serving" />
  </exec>
 </target>

我的错误在哪里?

0 个答案:

没有答案