Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Hudson 1.384, warnings plugin 3.11, Visual Studio 2010, StyleCop, Windows XP
Description
We've got a Visual Studio 2010 solution with one or more projects whose build process includes calling on StyleCop, which generates warnings about people ignoring naming conventions, layout etc.
Although these warnings fit the same "format" as standard MSBuild warnings, the plugin seems to ignore them and does not report their presence.
e.g.
MoqExtensions.cs(2,1): warning : SA1210: Using directives must be sorted alphabetically by the namespaces. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj] MoqExtensions.cs(3,1): warning : SA1210: Using directives must be sorted alphabetically by the namespaces. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj] MoqExtensions.cs(4,1): warning : SA1210: Using directives must be sorted alphabetically by the namespaces. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj] MoqExtensions.cs(6,1): warning : SA1208: System using directives must be placed before all other using directives. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj] MoqExtensions.cs(70,1): warning : SA1402: A C# document may only contain a single class at the root level unless all of the classes are partial and are of the same type. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj]
Integrated in
Hudson Plug-ins (Compile) #80
[FIXED JENKINS-8347] Improved regular expression to support style cop warnings.