Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13657

Cppcheck does not work with the "Flexible Publish Plugin"

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cppcheck-plugin
    • Labels:
      None

      Description

      I'd like to configure my build such that some of the long running steps are only executed at night. For this I use the "Conditional BuildStep plugin" plugin along with the "Flexible publish plugin".

      However, the cppcheck publisher does not appear in the list of publishers available to flexible publish plugin.

        Activity

        Hide
        gbois Gregory Boissinot added a comment -

        Cppcheck doesn't depend on these plugins and it doesn't have to know these plugins.
        I'm closing the issue.
        I suggest you should report a new issue to others plugins and attach your job configuration file (config.xml).

        Show
        gbois Gregory Boissinot added a comment - Cppcheck doesn't depend on these plugins and it doesn't have to know these plugins. I'm closing the issue. I suggest you should report a new issue to others plugins and attach your job configuration file (config.xml).
        Hide
        mhans Martin Hans added a comment -

        Apparently, the Flexible Publish Plugin is able to find publishers on its own, so the Cppcheck plugin wouldn't need to depend on it. However, the Cppcheck plugin must use a DataBoundConstructor to be available.

        Show
        mhans Martin Hans added a comment - Apparently, the Flexible Publish Plugin is able to find publishers on its own, so the Cppcheck plugin wouldn't need to depend on it. However, the Cppcheck plugin must use a DataBoundConstructor to be available.
        Hide
        gbois Gregory Boissinot added a comment -

        Thanks.
        You're right.
        I migrated my code to use a @DataBoundContructor constructor.

        Show
        gbois Gregory Boissinot added a comment - Thanks. You're right. I migrated my code to use a @DataBoundContructor constructor.
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Gregory Boissinot
        Path:
        src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java
        http://jenkins-ci.org/commit/cppcheck-plugin/47e4c10459535bfd64e033271f5709dc5d6c9c6d
        Log:
        Fix JENKINS-13657

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java http://jenkins-ci.org/commit/cppcheck-plugin/47e4c10459535bfd64e033271f5709dc5d6c9c6d Log: Fix JENKINS-13657
        Hide
        mhans Martin Hans added a comment -

        Wow, that was quick. Works fine. Thank you!

        Show
        mhans Martin Hans added a comment - Wow, that was quick. Works fine. Thank you!

          People

          • Assignee:
            gbois Gregory Boissinot
            Reporter:
            mhans Martin Hans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: