-
Improvement
-
Resolution: Fixed
-
Minor
-
Windows Server 2012, Jenkins 1.589, Warnings-Plugin 4.4.7
Hi there,
as statet in this MSDN blog post a MSBuild-Warning may contain a subcategory, like in this real warning (note the additional word "Hint")
E:\workspace\project\subdir\file.sub1.sub2.pas(4522): Hint warning H2164: Variable 'lTaskDialog' is declared but never used in 'TDialog.ShowTaskDialog' [E:\workspace\projext\subdir\project.dproj]
Unfortunately the pre-shipped parser MSBuild does not recognise those kind of warning (or error, info,...)
The regular expression attached in MSBuild_pattern_subcategory.txt solved that problem for us.
We are using a custom parser for now, but it might be desirable to change
the pattern in default MSBuild Parser as the one attached is more close to the default behaviour in msbuild (see blog post).
Interested in providing a pull request (incl. a test) that improves the regular expression?