Gradle test could not find flowId on teamcity

We are using Teamcity 9.0.3, and we are trying to run the gradle construct using tests. But this failed with the following exception:

[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) 

I use gradle wrapper and 2.5 version and teamcity agents for assembly. How can i fix this?

+6
source share
1 answer

Well, I found the answer: this is a bug of this version.

https://youtrack.jetbrains.com/issue/TW-42012

For correction, you can upgrade to version 9.0.4 or later.

+8
source

All Articles