You are correct. The cppcheck plugin only provides a Publisher, not a Build 
Step, so you will need to arrange for cppcheck to be run by one of the steps in 
your project. it doesn't get 'attached' to msbuild, you'll need to run an 
'Execute Shell' step in your project and then run cppcheck to analyze your 
source code.

----- Original Message -----
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Nov  6 2013 04:57:31

Hey all,

I am a new user to Jenkins and so far had no issues with using some plugins and 
building my VS C++ projects. I am trying to set it up to use cppcheck for the 
builds, I "thought" I set it up correctly, but I basically get this:

No valid cppcheck data available
                This plugin will not report cppcheck result until there is at 
least one success or unstable build.
I couldn't find any clear information or guides on the net to help correctly 
setup the cppcheck plugin in a Windows environment, hopefully someone here can 
help.
I have cppcheck installed on my machine, only used the cppcheckGUI 
successfully, but the commandline version is there too. I'm assuming Jenkins 
doesn't actually use cppcheck, instead it just reads an XML file generated by 
the cppcheck at the end of a build? So does this mean cppcheck must be attached 
to MSBuild.exe in some shape or form?
Any information to properly set this up is appreciated :)


             -- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to