提交 5d448816 编写于 作者: K kohsuke

instrumenting the remoting.jar causes the tests to fail, because they are used...

instrumenting the remoting.jar causes the tests to fail, because they are used to start brand-new JVMs

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16511 71c3de6d-444a-0410-be80-ed276b4c234a
上级 fcb1e18f
......@@ -9,7 +9,8 @@ FileUtils.copyFile(maven.resolveArtifact("${project.groupId}:hudson-core:${proje
cob = new Cobertura(project,maven,ant,ser);
cob.instrument(["remoting","hudson-core"].collect{ m -> maven.resolveArtifact("${project.groupId}:${m}:${project.version}") })
// instrumenting remote.jar causes all native m2 job to fail, because forked Maven doesn't have cobertura runtime
cob.instrument(["hudson-core"].collect{ m -> maven.resolveArtifact("${project.groupId}:${m}:${project.version}") })
cob.runTests()
cob.report()
cob.makeBuildFailIfTestFail();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册