Jenkins 错误:发布服务器hudson.tasks.junit.JUnitResultArchiver因异常而中止
我已经从eclipse成功地执行了Junit测试。 所以我想从Jenkins那里执行相同的测试用例。 为此,我编写了build.xml(antbuild)Jenkins 错误:发布服务器hudson.tasks.junit.JUnitResultArchiver因异常而中止,jenkins,Jenkins,我已经从eclipse成功地执行了Junit测试。 所以我想从Jenkins那里执行相同的测试用例。 为此,我编写了build.xml(antbuild) 我的问题是,詹金斯的死刑没有成功。构建成功(来自eclipse和Jenkins),尽管测试用例失败。 如何消除以下错误 错误:发布服务器hudson.tasks.junit.JUnitResultArchiver因异常而中止 hudson.AbortException: 问候,, Sharon M P有一张关于此错误的罚单: 如果您
我的问题是,詹金斯的死刑没有成功。构建成功(来自eclipse和Jenkins),尽管测试用例失败。
如何消除以下错误
错误:发布服务器hudson.tasks.junit.JUnitResultArchiver因异常而中止
hudson.AbortException:
问候,,
Sharon M P
有一张关于此错误的罚单:
如果您使用的是Jenkins版本“V1.582”,他们建议升级到最新版本以解决此问题 你可以在网页的右下角查看你的jenkins版本<path id="classpath">
<pathelement location="lib\junit-4.12-javadoc.jar" />
<pathelement location="lib\junit-4.12-sources.jar" />
<pathelement location="lib\junit-4.12.jar" />
<pathelement location="lib\ojdbc14.jar" />
<pathelement location="lib\oraclejdbc.jar" />
<pathelement location="lib\testng-6.8.5.jar" />
<pathelement location="bin" />
</path>
<target name="compile">
<javac classpath="classpath" includeantruntime="false" srcdir="./src" destdir="bin" includes="**/*.java" verbose="true">
</javac>
</target>
<target name="run_tests" depends="compile">
<junit printsummary="on" haltonfailure="false" showoutput="yes">
<formatter type="xml" usefile="false" />
<test name="om.wipro.TestDbUpdates" />
<test name="om.wipro.TestExample" />
<classpath>
<pathelement location="lib\junit-4.12-javadoc.jar" />
<pathelement location="lib\junit-4.12-sources.jar" />
<pathelement location="lib\junit-4.12.jar" />
<pathelement location="lib\ojdbc14.jar" />
<pathelement location="lib\oraclejdbc.jar" />
<pathelement location="lib\testng-6.8.5.jar" />
<pathelement location="bin" />
</classpath>
</junit>
</target>