[JIRA] [cppcheck-plugin] (JENKINS-29741) Add Job DSL support for CppCheck

5 views
Skip to first unread message

mail@daniel-spilker.com (JIRA)

unread,
Mar 18, 2016, 7:08:01 AM3/18/16
to jenkinsc...@googlegroups.com
Daniel Spilker assigned an issue to Unassigned
 
Jenkins / New Feature JENKINS-29741
Add Job DSL support for CppCheck
Change By: Daniel Spilker
Assignee: Daniel Spilker
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

mail@daniel-spilker.com (JIRA)

unread,
Mar 18, 2016, 7:08:01 AM3/18/16
to jenkinsc...@googlegroups.com
Daniel Spilker updated an issue
Change By: Daniel Spilker
Summary: Support Add Job DSL support for  CppCheck

mail@daniel-spilker.com (JIRA)

unread,
Apr 11, 2016, 2:20:02 PM4/11/16
to jenkinsc...@googlegroups.com
Daniel Spilker commented on New Feature JENKINS-29741
 
Re: Add Job DSL support for CppCheck

The upcoming generic DSL (https://github.com/jenkinsci/job-dsl-plugin/pull/816) will enable support for the CppCheck plugin:

job('example') {
  publishers {
    cppcheckPublisher {
      pattern('**/cppcheck-result-*.xml')
      ignoreBlankFiles(false)
      threshold(null)
      allowNoReport(true)
      newThreshold(null)
      failureThreshold(null)
      newFailureThreshold(null)
      healthy(null)
      unHealthy(null)
      severityError(true)
      severityWarning(true)
      severityStyle(true)
      severityPerformance(true)
      severityInformation(true)
      severityNoCategory(true)
      severityPortability(true)
      xSize(100)
      ySize(200)
      numBuildsInGraph(5)
      displayAllErrors(true)
      displayErrorSeverity(true)
      displayWarningSeverity(true)
      displayStyleSeverity(true)
      displayPerformanceSeverity(true)
      displayInformationSeverity(true)
      displayNoCategorySeverity(true)
      displayPortabilitySeverity(true)
    }
  }
}

mail@daniel-spilker.com (JIRA)

unread,
Apr 18, 2016, 12:02:03 PM4/18/16
to jenkinsc...@googlegroups.com
Daniel Spilker resolved as Fixed
 
Change By: Daniel Spilker
Status: Open Resolved
Resolution: Fixed

mail@daniel-spilker.com (JIRA)

unread,
May 8, 2016, 5:56:09 PM5/8/16
to jenkinsc...@googlegroups.com
Daniel Spilker closed an issue as Fixed
Change By: Daniel Spilker
Status: Resolved Closed
Assignee: Daniel Spilker

felix.mueller@scs.ch (JIRA)

unread,
Feb 27, 2020, 4:31:03 AM2/27/20
to jenkinsc...@googlegroups.com
Felix Mueller commented on New Feature JENKINS-29741
 
Re: Add Job DSL support for CppCheck

As Felix Drueke has stated, this does not seem to be available in the current version of the Job DSL (1.76). Should the issue then not be re-opened?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

felix.mueller@scs.ch (JIRA)

unread,
Feb 27, 2020, 4:57:03 AM2/27/20
to jenkinsc...@googlegroups.com
Felix Mueller edited a comment on New Feature JENKINS-29741
- As - [~fdrueke] - has stated, this does not seem to be available in the current version of the Job DSL (1.76). Should the issue then not be re-opened? -

EDIT: Using the Job DSL API of my local Jenkins installation (not the online variant - plugin/job-dsl/api-viewer/index.html ), I found that the publisher is called '*publishCppCheck*', not '*cppcheckPublisher*' as written in the above comment.
Reply all
Reply to author
Forward
0 new messages