-
Bug
-
Resolution: Incomplete
-
Minor
-
None
-
Jenkins 2.7
Gradle 2.13
Ubuntu Server 14.04
Currently, Jenkins' warnings plugin (Java Parser) has issues with parsing Gradle's javac output.
The issue can be connected to GRADLE-1230
The latest version of gradle can generate
:xxx-state:xxx-yyy:compileTestJava/home/szhem/Projects/<PATH_TO_TESTS>/Test.java:106: warning: [rawtypes] found raw type: StateStore Class<? extends StateStore> storeClass = ^ missing type arguments for generic class StateStore<T> where T is a type-variable: T extends State declared in interface StateStore 1 warning
As you can see the name of the phase and name of the file are glued with each other compileTestJava/home/
Please also notice, that compiler warnings are written to stderr, although gradle's output is written to stdout, so stderr may interleave stdout incorrectly.
Here is gradle's stderr
/home/szhem/Projects/<PATH_TO_TESTS>/Test.java:106: warning: [rawtypes] found raw type: StateStore Class<? extends StateStore> storeClass = ^ missing type arguments for generic class StateStore<T> where T is a type-variable: T extends State declared in interface StateStore 1 warning
and here is corresponding stdout
:xxx-state:xxx-yyy:compileTestJava
Are these two issues? One for the concatenated words and one for multi-line?
For the concatenated words: her can't do much in my plug-in. Wouldn't it be possible to pipe stdout to a file (or vice versa)? The only one of these streams will be read by the plugin.