Postbuild插件没有运行。 “建设比不稳定更糟糕”

时间:2013-06-18 03:38:36

标签: ant jenkins post-build

我已经设置了一些后期构建步骤来使用构建状态更新我的github存储库。但是我从post build插件中得到了一些不幸的错误。

它说:

Match found for :FAILURES! : True
Logical operation result is TRUE
Skipping post build task 0 - job status is worse than unstable : FAILURE

我怀疑它与我的ant步骤的返回代码有关,但不确定从哪里开始。这是我包括蚂蚁定义,然后是日志的底部。

<target name="phpunit" description="Run unit tests with PHPUnit" depends="prepare">
  <exec executable="sh/runtest.sh" failonerror="true">
    <arg value='-d screenshot_url=http://184.169.148.19:8080/job/ASN Events/ws/build/screenshots/' />
  </exec>
</target>

日志的底部:

 [exec] 
 [exec] FAILURES!
 [exec] Tests: 2072, Assertions: 6850, Errors: 2, Incomplete: 4, Skipped: 3.
 [exec] 5213
 [exec] I, [2013-06-18T04:55:14.851141 #5213]  INFO -- : reaped #<Process::Status: pid 5231 exit 0> worker=0
 [exec] I, [2013-06-18T04:55:14.851499 #5213]  INFO -- : master complete

BUILD FAILED
/var/lib/jenkins/jobs/ASN Events/workspace/build.xml:154: exec returned: 2

Total time: 37 minutes 48 seconds
Build step 'Invoke Ant' marked build as failure
Performing Post build task...
Match found for :FAILURES! : True
Logical operation result is TRUE
Skipping post build task 0 - job status is worse than unstable : FAILURE

0 个答案:

没有答案