2

我已经设置了一些后期构建步骤,以使用构建状态更新我的 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
4

0 回答 0