我们正在使用 Teamcity 9.0.3,我们尝试运行带有测试的 gradle build。但是,它因以下异常而失败:
[15:25:41][:test] Failed to find flowId for [com.stub.AppTest]
[15:25:41][:test] java.lang.NullPointerException: Failed to find flowId for [com.stub.AppTest]
[15:25:41][:test] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[15:25:41][:test] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[15:25:41][:test] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[15:25:41][:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
我使用 gradle wrapper 及其 2.5 版本和 teamcity 代理进行构建。 我该如何解决这个问题?
最佳答案
关于java - Gradle 测试在 teamcity 上找不到 flowId,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31832659/