-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Ubuntu 20
I have my jenkins file run cpp check and create a cppcheck-result.xml.
In a following stage I have my jenkins file call
recordIssues tools:[cppcheck(pattern: 'cppcheck-result.xml')]
At the end of my pipeline I am given a large wall of text with the error
java.lang.NoSuchMethodError: No such DSL method 'cppcheck' found among steps. I installed the cppcheck plugin, the warnings next generation plugin. Not sure what is missing.
Edit: my jenkins file stages
stage('CppCheck') {
steps
}
stage('"Warnings Next Generation Check"') {
steps
}