In case there are jobs with a very long configuration history - currently loading the history page takes a few minutes.
      Enabling paging that show only a portion of the information at the time will significantly improve the performance.
      This way you can show 100 entries per page, or even better set a default number and let the user change it in case he wants to see more.

          [JENKINS-21600] Enable paging to improve performance

          danielbeck, no, I had to stop this halfways:

          • Currently, only the first maxEntriesPerPage will be shown for job histories, so no real paging right now.
          • And currently on history page beneath a job is supported, as other pages (like the general overview https://HOSTNAME/jenkins/jobConfigHistory) are using an intermediate format, so here stuff is still loaded completely .

          Mirko Friedenhagen added a comment - danielbeck , no, I had to stop this halfways: Currently, only the first maxEntriesPerPage will be shown for job histories, so no real paging right now. And currently on history page beneath a job is supported, as other pages (like the general overview https://HOSTNAME/jenkins/jobConfigHistory ) are using an intermediate format, so here stuff is still loaded completely .

          Dirk Thomas added a comment -

          For a specific job the history seems to be limited based on the config value. But the global page (e.g. "Show job configs only") is not restricted at all. It would be great if pagination (or at least a configurable limit) could be added for that.

          Dirk Thomas added a comment - For a specific job the history seems to be limited based on the config value. But the global page (e.g. "Show job configs only") is not restricted at all. It would be great if pagination (or at least a configurable limit) could be added for that.

          Denys Digtiar added a comment -

          mfriedenhagen  Could you resume the work on this and at least fix the following issue.

          When "Max number of history entries to show per page" is set to N and there are more than N revision of the config file, only N oldest revisions are shown. As a user, I would like to see the N newest revisions that I made not the oldest.

          Denys Digtiar added a comment - mfriedenhagen  Could you resume the work on this and at least fix the following issue. When " Max number of history entries to show per page" is set to N and there are more than N revision of the config file, only N oldest revisions are shown. As a user, I would like to see the N newest revisions that I made not the oldest.

          I am out-of-office until 29th of August, then I will have a look, although I am currently not really active anymore because we are switching most stuff to gitlab-ci

          Mirko Friedenhagen added a comment - I am out-of-office until 29th of August, then I will have a look, although I am currently not really active anymore because we are switching most stuff to gitlab-ci

          Denys Digtiar added a comment -

          mfriedenhagen oh... Sad to see you go  

          Denys Digtiar added a comment - mfriedenhagen oh... Sad to see you go  

          Denys Digtiar added a comment -

          stefanbrausch, kstutz , boev , jochenafuerbacher you are also mentioned as maintainers on the wiki. Do you still actively working on JobConfigHistory plugin? Will you be able to pick this up if Mirko doesn't have time

          Denys Digtiar added a comment - stefanbrausch , kstutz , boev , jochenafuerbacher you are also mentioned as maintainers on the wiki. Do you still actively working on JobConfigHistory plugin? Will you be able to pick this up if Mirko doesn't have time

          Code changed in jenkins
          User: Jochen Fürbacher
          Path:
          src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryProjectAction.java
          http://jenkins-ci.org/commit/jobConfigHistory-plugin/89ed7dc3ad2c82f94c0549fd8b8672d0c3b1508c
          Log:
          JENKINS-21600 Fixed max number of history entries issue.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jochen Fürbacher Path: src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryProjectAction.java http://jenkins-ci.org/commit/jobConfigHistory-plugin/89ed7dc3ad2c82f94c0549fd8b8672d0c3b1508c Log: JENKINS-21600 Fixed max number of history entries issue.

          Code changed in jenkins
          User: Jochen A. Fürbacher
          Path:
          src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryProjectAction.java
          http://jenkins-ci.org/commit/jobConfigHistory-plugin/702d8338ec34b51cbaa268b106f60e38717338cb
          Log:
          Merge pull request #64 from jenkinsci/JENKINS-21600

          Fixed max number of history entries issue of JENKINS-21600.

          Compare: https://github.com/jenkinsci/jobConfigHistory-plugin/compare/a94a5dc8ec38...702d8338ec34

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jochen A. Fürbacher Path: src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryProjectAction.java http://jenkins-ci.org/commit/jobConfigHistory-plugin/702d8338ec34b51cbaa268b106f60e38717338cb Log: Merge pull request #64 from jenkinsci/ JENKINS-21600 Fixed max number of history entries issue of JENKINS-21600 . Compare: https://github.com/jenkinsci/jobConfigHistory-plugin/compare/a94a5dc8ec38...702d8338ec34

          @duemir: Fixed the issue with the max number of history entries you mentioned. It will be available in the next release.

          Jochen A. Fürbacher added a comment - @ duemir : Fixed the issue with the max number of history entries you mentioned. It will be available in the next release.

          Denys Digtiar added a comment -

          jochenafuerbacher thank you very much for such a prompt reply and a fix.

          Denys Digtiar added a comment - jochenafuerbacher thank you very much for such a prompt reply and a fix.

            mfriedenhagen Mirko Friedenhagen
            esinsag Sagi Sinai-Glazer
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: