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

Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin.

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • cppcheck-plugin
    • software platform

      I have seen the trends as last sucessful builds say job#50 to the currrent failed builds say job#337.

      Instead of shows last successful and current failed builds. Its better to show only the recent 20/30 depends on configure eventhout all are failed/sucessful.

      Please find the attachement it not looks as the expected.

          [JENKINS-23247] Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin.

          Hi
          > During From 50 to 337 all builds are failed. yes.
          > Nope we have configured only 30 builds or 15 days builds alone archiving.
          > In the trend graph, I would like to view only the recent builds as per I would like to configure.
          For example,
          The graph trend shows from 50 to 337 which doesnt required instead of that the graph has to show only the recent 5 or 10 builds say (330 to 337) as per the configurable count.
          > I used 1.18 version on the same, platform linux, C++.

          Senthil Nagarajan added a comment - Hi > During From 50 to 337 all builds are failed. yes. > Nope we have configured only 30 builds or 15 days builds alone archiving. > In the trend graph, I would like to view only the recent builds as per I would like to configure. For example, The graph trend shows from 50 to 337 which doesnt required instead of that the graph has to show only the recent 5 or 10 builds say (330 to 337) as per the configurable count. > I used 1.18 version on the same, platform linux, C++.

          Michal Turek added a comment -

          I have updated the priority from "Blocker" to "Minor". If I understand correctly, everything works as expected and this is only a feature request for showing only last N builds in the trend graph.

          Michal Turek added a comment - I have updated the priority from "Blocker" to "Minor". If I understand correctly, everything works as expected and this is only a feature request for showing only last N builds in the trend graph.

          Hi Mike

          Could you please work on this request as some high priority as we are expecting as earliest on shows last N builds in the trend graph.

          Senthil Nagarajan added a comment - Hi Mike Could you please work on this request as some high priority as we are expecting as earliest on shows last N builds in the trend graph.

          Michal Turek added a comment -

          Hi, I'm not interested in this feature and I have nearly no free time so I don't expect any work on this task from my side, sorry. But anyone can implement it and send a pull request...

          Michal Turek added a comment - Hi, I'm not interested in this feature and I have nearly no free time so I don't expect any work on this task from my side, sorry. But anyone can implement it and send a pull request...

          Daniel Beck added a comment -

          mixalturek Just in case Senthil is really interested in the feature, would you do it if a bounty was offered? If so, how much?

          Daniel Beck added a comment - mixalturek Just in case Senthil is really interested in the feature, would you do it if a bounty was offered? If so, how much?

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction.java
          src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckPublisher.java
          src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigGraph.java
          src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly
          src/main/resources/util/thresholds.jelly
          src/main/resources/util/thresholds.properties
          http://jenkins-ci.org/commit/cppcheck-plugin/4c62a2568d6674311730246060f2bb84596b3d2b
          Log:
          JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin.

          • Number of builds in the trend graph can be limited in configuration, default behavior is unlimited.
          • Label for "Chart height" fixed, it pointed to "Chart width" box.
          • Label for "Display warnings" fixed, there was typo in target name.
          • Targets for "Ignore blank files" and "Do not fail build" defined.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckPublisher.java src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigGraph.java src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly src/main/resources/util/thresholds.jelly src/main/resources/util/thresholds.properties http://jenkins-ci.org/commit/cppcheck-plugin/4c62a2568d6674311730246060f2bb84596b3d2b Log: JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin. Number of builds in the trend graph can be limited in configuration, default behavior is unlimited. Label for "Chart height" fixed, it pointed to "Chart width" box. Label for "Display warnings" fixed, there was typo in target name. Targets for "Ignore blank files" and "Do not fail build" defined.

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java
          http://jenkins-ci.org/commit/cppcheck-plugin/1ca7ea25a0a8be2487d7d1dd2fb86be5c523c2c8
          Log:
          JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin.

          • Broken build fixed.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java http://jenkins-ci.org/commit/cppcheck-plugin/1ca7ea25a0a8be2487d7d1dd2fb86be5c523c2c8 Log: JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin. Broken build fixed.

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java
          src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly
          http://jenkins-ci.org/commit/cppcheck-plugin/090d7aca4ba305e61b49c750908d3fdd185599e0
          Log:
          JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin.

          • Broken build fixed.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly http://jenkins-ci.org/commit/cppcheck-plugin/090d7aca4ba305e61b49c750908d3fdd185599e0 Log: JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in CPPcheck plugin. Broken build fixed.

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java
          src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java
          src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction.java
          src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckPublisher.java
          src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigGraph.java
          src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly
          src/main/resources/util/thresholds.jelly
          src/main/resources/util/thresholds.properties
          http://jenkins-ci.org/commit/cppcheck-plugin/b3ce469b3fa678f1058629cf9ba81d8f706e204a
          Log:
          Merge pull request #26 from mixalturek/master

          JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in...

          Compare: https://github.com/jenkinsci/cppcheck-plugin/compare/1e722026de8a...b3ce469b3fa6

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckPublisher.java src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigGraph.java src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly src/main/resources/util/thresholds.jelly src/main/resources/util/thresholds.properties http://jenkins-ci.org/commit/cppcheck-plugin/b3ce469b3fa678f1058629cf9ba81d8f706e204a Log: Merge pull request #26 from mixalturek/master JENKINS-23247 Display trends graph last 10/20 sucessful/fail builds in... Compare: https://github.com/jenkinsci/cppcheck-plugin/compare/1e722026de8a...b3ce469b3fa6

          Michal Turek added a comment -

          Implemented, will be released in version 1.20.

          Michal Turek added a comment - Implemented, will be released in version 1.20.

            gbois Gregory Boissinot
            nagase Senthil Nagarajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: