Jenkins构建失败并出现错误"分叉的VM在没有正确说再见的情况下终止。 VM崩溃或System.exit调用?"

时间:2017-01-28 00:08:04

标签: java maven jenkins maven-surefire-plugin

15:54:14 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project <name>: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
15:54:14 [ERROR] Command was /bin/sh -c cd /workspace/<projectname> && /opt/jdk/oraclejdk-1.8.0.60/jre/bin/java -jar /workspace/<projectname>/target/surefire/surefirebooter701256924917362962.jar /workspace/<projectname>/target/surefire/surefire1124075194275791830tmp /workspace/projectname/target/surefire/surefire_29076614812591057339tm
15:54:14 [ERROR] -> [Help 1]
15:54:14 [ERROR] 

这是一个Jenkins CI工作,使用Java 8和Maven 3.3。所有的单元测试都是成功的。仍然得到这个错误,尝试了很多提到的解决方案,但没有工作。尝试了以下链接中提到的所有内容,但没有帮助

http://maven.apache.org/surefire/maven-surefire-plugin/faq.html

0 个答案:

没有答案