Jenkins Shows Empty Reports for CheckStyle Plugin

86 views
Skip to first unread message

Gaurang shah

unread,
Aug 29, 2013, 3:22:32 AM8/29/13
to jenkins...@googlegroups.com

Hi Guys, 

I am trying to configure checkstyle plugin for few days, however facing a problem.

I have Pre-Steps I am invoking following Maven Goal, 
checkstyle:checkstyle

And I have configured Checkstyle reports on dashboard as well. 

When i see the console it shows the following line, which mean it is genereting the reports. 

[INFO] There are 103 checkstyle errors.

 However after completion I am not able to see any statistics or graphs in dashboard i have configured. 

Would someone please let me know what could have been wrong ?? 

Gaurang Shah

Richard Bywater

unread,
Aug 29, 2013, 2:51:41 PM8/29/13
to jenkins...@googlegroups.com
We had a similar problem with Junit test results which was being caused by an OutOfMemory error.

Perhaps it's something similar (or perhaps not but its a start :) )

Richard.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ullrich Hafner

unread,
Aug 29, 2013, 4:03:22 PM8/29/13
to jenkins...@googlegroups.com
Why are you running CheckStyle as pre step? Can you retry as Build step? Is there a [CHECKSTYLE] Message in the Log?

Gaurang shah

unread,
Aug 30, 2013, 1:18:37 AM8/30/13
to jenkins...@googlegroups.com
Hi Guys, 

Following is my configuration, let me know if anything is wrong. 

I am not able to see any [CHECKSTYLE] message in the logs. 

Inline image 1



Gaurang Shah
Blog: qtp-help.blogspot.com
Mobile: +91 738756556


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/5ufqPp--qVc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
image.png

Ullrich Hafner

unread,
Aug 30, 2013, 2:21:33 AM8/30/13
to jenkins...@googlegroups.com
But why are you running CheckStyle as pre step?

Please use goals "checkstyle:checkstyle test" as build goals.
image.png

Gaurang shah

unread,
Aug 30, 2013, 2:35:34 AM8/30/13
to jenkins...@googlegroups.com
Hi Hafner

Thanks for the help, I change remove the build pre-step and changed the build goal and now it's working. 

I got the reports. 

While i was doing configuration I came across one post where they mention that you need to configure checkstyle:checkstyle as pre-build step. 
 Might be it was for old Jenkins or old Checkstyle plugin. 

thanks for the help again.

Gaurang Shah
Blog: qtp-help.blogspot.com
Mobile: +91 738756556


image.png
Reply all
Reply to author
Forward
0 new messages