-
Improvement
-
Resolution: Fixed
-
Minor
Add support for Jenkins Pipeline with Cppcheck Plugin
https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md
- 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
-
- Resolved
-
-
JENKINS-42613 Cppcheck publisher has no access to source files (experimental version for pipeline)
-
- Closed
-
[JENKINS-35096] Add support for Jenkins Pipeline to the cppcheck-plugin
Description |
New:
Add support for Jenkins Pipeline with Cppcheck Plugin https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md |
Labels | Original: pipeline | New: workflow |
Epic Link | New: JENKINS-34657 [ 170293 ] |
Labels | Original: workflow | New: Pipeline workflow |
Workflow | Original: JNJira [ 171314 ] | New: JNJira + In-Review [ 184253 ] |
Issue Type | Original: Bug [ 1 ] | New: Improvement [ 4 ] |
Labels | Original: Pipeline workflow | New: Pipeline pipeline workflow |
I think what's needed is to implement the `SimpleBuildStep` class interface. similar to what the xunit plugin does: https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java#L63
cppcheck does not implement this:
https://github.com/jenkinsci/cppcheck-plugin/blob/master/src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckPublisher.java#L32
See also: https://github.com/jenkinsci/cobertura-plugin/issues/50