cppcheck-plugin icon indicating copy to clipboard operation
cppcheck-plugin copied to clipboard

Jenkins 35096 altran cppcheck plugin pipeline support

Open AltranManatree opened this issue 7 years ago • 9 comments

Add support for ccpcheck pipeline jenkins 2.0

Note: Another feature branch, jenkins-35096_cppcheck_plugin_pipeline_support already exists, but due to the fact it is still open in Jenkins jira. We are pushing our finished working cppCheck plugin for review.

Our plugin has been tested in our working environment, and is working correctly in jenkins V2 pipeline. As an addition, the step can be called as follows:

                  **CppcheckPublisher ( pattern: ‘cppcheck.xml’ )** 

instead of

step([$class: 'CppcheckPublisher', allowNoReport: false, displayAllErrors: true, displayErrorSeverity: false, displayInformationSeverity: false, displayNoCategorySeverity: false, displayPerformanceSeverity: false, displayPortabilitySeverity: false, displayStyleSeverity: false, displayWarningSeverity: false, failureThreshold: '', healthy: '', ignoreBlankFiles: false, newFailureThreshold: '', newThreshold: '', numBuildsInGraph: 0, pattern: 'cppcheck.xml', severityError: true, severityInformation: true, severityNoCategory: true, severityPerformance: true, severityPortability: true, severityStyle: true, severityWarning: true, threshold: '', unHealthy: '', xSize: 500, ySize: 200])

AltranManatree avatar Aug 24 '17 15:08 AltranManatree