• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • sloccount-plugin
    • None

      On old projects (e.g trunk or master) the graph on the job page will be nearly uninterpretable.

      It should be possible to limit the graph to show the last 30 builds only.
      (like checkstyle/findbugs plugin)

          [JENKINS-21552] Configureable Graph

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/hudson/plugins/sloccount/SloccountChartBuilder.java
          src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java
          src/main/java/hudson/plugins/sloccount/SloccountPublisher.java
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.properties
          http://jenkins-ci.org/commit/sloccount-plugin/25d14a041d99ace02362f814ceb14a32c306a1ed
          Log:
          JENKINS-21552 Configureable Graph

          • The graph on the job page of old projects will be nearly uninterpretable, because there are too many builds.
          • Option to limit maximum number of last successful builds displayed in the graph added to the advanced configuration.
          • If the value is one or less (at least two builds are required to display the graph) the number will be considered as unlimited.
          • If the value is not configured, Java will interpret it as zero (unlimited), which is fully backward compatible.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/hudson/plugins/sloccount/SloccountChartBuilder.java src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java src/main/java/hudson/plugins/sloccount/SloccountPublisher.java src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.properties http://jenkins-ci.org/commit/sloccount-plugin/25d14a041d99ace02362f814ceb14a32c306a1ed Log: JENKINS-21552 Configureable Graph The graph on the job page of old projects will be nearly uninterpretable, because there are too many builds. Option to limit maximum number of last successful builds displayed in the graph added to the advanced configuration. If the value is one or less (at least two builds are required to display the graph) the number will be considered as unlimited. If the value is not configured, Java will interpret it as zero (unlimited), which is fully backward compatible.

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/hudson/plugins/sloccount/SloccountChartBuilder.java
          src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java
          src/main/java/hudson/plugins/sloccount/SloccountPublisher.java
          src/main/resources/hudson/plugins/sloccount/Messages.properties
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.properties
          http://jenkins-ci.org/commit/sloccount-plugin/111933439b6f30bce87e0b5851313e0aa56e6f45
          Log:
          Merge pull request #32 from mixalturek/master

          JENKINS-21552 Configureable Graph

          Compare: https://github.com/jenkinsci/sloccount-plugin/compare/07e91e82f9b0...111933439b6f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/hudson/plugins/sloccount/SloccountChartBuilder.java src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java src/main/java/hudson/plugins/sloccount/SloccountPublisher.java src/main/resources/hudson/plugins/sloccount/Messages.properties src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.properties http://jenkins-ci.org/commit/sloccount-plugin/111933439b6f30bce87e0b5851313e0aa56e6f45 Log: Merge pull request #32 from mixalturek/master JENKINS-21552 Configureable Graph Compare: https://github.com/jenkinsci/sloccount-plugin/compare/07e91e82f9b0...111933439b6f

          Michal Turek added a comment -

          Option to limit maximum number of last successful builds displayed in the graph added to the advanced configuration. Will be released in 1.15.

          Michal Turek added a comment - Option to limit maximum number of last successful builds displayed in the graph added to the advanced configuration. Will be released in 1.15.

            mixalturek Michal Turek
            rpaasche Ruby Paasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: