how should an error look like to fail a build?
I have checked Fail build if ->an error message is logged by build runner
I use this on a gradle build. The build runner is command line and the executable gradle.bat . The build fails but the status is successfull.
I wonder if I can trick the log parser to find an error and fail the build
The log contains lines like
[10:06:40]: [ERROR] BUILD ERROR
[10:06:40]: FAILURE: Build failed with an exception.
[10:06:40]: FAILURE: Build failed with an exception.
..
[10:06:40]: BUILD FAILED
[10:06:41]: Process exited with code 0
[10:06:36]: Build finished
[10:06:41]: Process exited with code 0
[10:06:36]: Build finished
and it is still successful
Please sign in to leave a comment.
fixed the problem ,
I posted it in
http://www.jetbrains.net/devnet/message/5255469#5255469