More than 1 Checkstyle report in Jenkins Job

10 views
Skip to first unread message

David Edwards

unread,
Mar 21, 2017, 4:35:57 AM3/21/17
to Jenkins Users
Hello
I am looking to add a new checkstyle report to a Jenkins job that 
already produces a checkstyle report. I would like to keep both reports 
separate not aggregate them.
The problem I am getting is that the second checkstyle report is over 
writing the first report when the CheckStylePublisher is run. On the 
Jenkins job page I get

Checkstyle:1366 warnings from one analysis

  * 1366 new warnings
  * Plug-in Result:- no threshold has been exceeded (Reference build:xxxxx)
  * Still 11 days before reaching the previous successful builds highscore.

And

Checkstyle:1 warning from one analysis.

  * 1 new warning
  * Plug-in Result:-1 warning exceeds the threshold of 0 by 1 (Reference
    build:xxxxx)

But when I select the 1386 warnings it takes me to a detail page where 
the output from the 1 warning is shown.

In the Jenkins job if the call to the second CheckStylePublisher is 
commented out then  drilling down onto the 1366 new warnings shows the 
correct details.

It is feasible to run more than CheckStyle report per Jenkins job?

Thanks
Dave
Reply all
Reply to author
Forward
0 new messages