I have a FxCop.project file which i call using a Jenkins job
"C:\Program Files (x86)\Microsoft Fxcop 10.0\FxCopCmd.exe" /project:"D:\Testing\Source\FxCop\BrokerApplication.FxCop" /out:"D:\Testing\Source\FxCop\BrokerApplication.xml"
What i want is to fail the job if there are any FxCop errors.
Is there anyway to do this ?