Maybe you can have a look at a maven reporter of one of the static analysis 
plug-ins (findbugs, checkstyle, …). The code to publish the results should be 
quite similar...

> Am 16.12.2014 um 23:59 schrieb Jesse Glick <jgl...@cloudbees.com>:
> 
> On Tue, Dec 16, 2014 at 4:53 PM, Mirko Friedenhagen
> <mfriedenha...@gmail.com> wrote:
>> The ViolationsReporter overrides hudson.maven.MavenReporter#end and
>> tries to set the result here which leads to the exception in [1] since
>> above commit.
> 
> Looks similar to, but not identical to,
> 
> https://issues.jenkins-ci.org/browse/JENKINS-25406
> 
> See my suggestion there about setting MavenBuild.result directly.
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1dy2ERZ94coQyj98S%2BCtuhmnCsn%2BwT_qbm9--jm140yQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9135AC9B-C57C-453F-B393-04BC2382AF1E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to