Status: Resolved (View Workflow)
Add support for Jenkins Pipeline with Cppcheck Plugin
- is blocked by
JENKINS-41704 Clicking On `Cppcheck Results` From A Multi-Branch Pipeline Build Results In javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException
JENKINS-42613 Cppcheck publisher has no access to source files (experimental version for pipeline)
It is also behaving faulty on my Jenkins instace. Update gave me several hours of troubleshooting/rebuilding cppcheck to 1.21, reuploading and so on. I have Jenkins ver. 2.73.3.
org.apache.commons.jelly.JellyTagException: jar:file:(...)/jenkins-home/plugins/cppcheck/WEB-INF/lib/classes.jar!/org/jenkinsci/plugins/cppcheck/CppcheckResult/index.jelly:3:62: <st:include> No page found 'sidepanel.jelly' for class org.jenkinsci.plugins.cppcheck.CppcheckResult
Am on version 1.22
Using the example provided above but it keeps trying to read a file called `**/cppcheck-result.xml`
Any way to solve this? Or will this be fixed in a future version?
I have the same problem as daan_philips ...
[Cppcheck] java.lang.IllegalArgumentException: No cppcheck test report file(s) were found with the pattern '**/cppcheck-result.xml'
although I configured a different path in the pipeline syntax:
step([$class: 'CppcheckPublisher', pattern: 'Testing/cppcheck-report.xml', ignoreBlankFiles: false, threshold: "0", ........
Hi marcosteffan , djviking ,
When I add stage
step([$class: 'CppcheckPublisher', to my jenkinfile
it raises a warning and it seems to be the failure
Maybe CppcheckPublisher doesn't have var member like displayInformationSeverity, xSize, ySize
Could you help me to solve this issue?
Why is this issue resolved and listed as Release 1.22? Still can't use it?