我最近搬到了Jenkins 2.19.1并将我的所有工作从旧版本导入到此版本的jenkins。 搬到新Jenkins后,我的Junit工作经常陷入困境。
JUNIT插件版本1.19
如果我中止了工作并重新开始,它就能正常运行。但是,经过几天或6-7次工作执行后再次陷入困境。 它不会抛出任何错误,我在日志中看不到任何错误。 工作陷入了无限的时间,我已经等了26个多小时但是它没有移动一点。 它被困在同一个地方。
18:22:16 [junit] JMockit: No classes were instrumented for coverage; please make sure that classes selected for coverage have been compiled with debug information.
18:22:18 [junit] JMockit: loaded external tool mockit.coverage.CodeCoverage
18:22:19 [junit] JMockit: No classes were instrumented for coverage; please make sure that classes selected for coverage have been compiled with debug information.
18:22:21 [junit] JMockit: loaded external tool mockit.coverage.CodeCoverage
我不认为代码或测试用例存在问题,否则它不应该重新执行。 有人可以帮我了解确切的问题。