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

add option to sort jobs descending

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It would be great to have an option to sort jobs in descending order, not ascending. I've implemented this in my local branch. I'll send all the commits to you for review.

        Attachments

          Activity

          Hide
          julienrenaut Julien RENAUT added a comment -

          I had thought of alternative sorting options but never got to implement them.

          I'm ok with just reversing the jobs as an option for now. I'll try to work on the others.

          Meanwhile you can go ahead and commit this.

          Show
          julienrenaut Julien RENAUT added a comment - I had thought of alternative sorting options but never got to implement them. I'm ok with just reversing the jobs as an option for now. I'll try to work on the others. Meanwhile you can go ahead and commit this.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mcrooney
          Path:
          trunk/hudson/plugins/xfpanel/src/main/java/maps/hudson/plugin/xfpanel/XFPanelView.java
          trunk/hudson/plugins/xfpanel/src/main/resources/maps/hudson/plugin/xfpanel/XFPanelView/configure-entries.jelly
          http://jenkins-ci.org/commit/28794
          Log:
          [xfpanel] add option to sort jobs descending JENKINS-5958

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mcrooney Path: trunk/hudson/plugins/xfpanel/src/main/java/maps/hudson/plugin/xfpanel/XFPanelView.java trunk/hudson/plugins/xfpanel/src/main/resources/maps/hudson/plugin/xfpanel/XFPanelView/configure-entries.jelly http://jenkins-ci.org/commit/28794 Log: [xfpanel] add option to sort jobs descending JENKINS-5958
          Hide
          mcrooney mcrooney added a comment -

          I agree, a better way to specify order would be helpful.

          I think the ultimate way might be to have "sets" that you can add multiples of, for each column. A set would basically be what we have right now. So, each time you add a set, it can be a regex or a checkbox list of things, and you can specify ascending or descending. Then, you can add multiple sets to a column and have different sets for different columns.

          This way you can have a group of things that go at the top and a group of things that go at the bottom, and specify what is on each column. What are your thoughts?

          Show
          mcrooney mcrooney added a comment - I agree, a better way to specify order would be helpful. I think the ultimate way might be to have "sets" that you can add multiples of, for each column. A set would basically be what we have right now. So, each time you add a set, it can be a regex or a checkbox list of things, and you can specify ascending or descending. Then, you can add multiple sets to a column and have different sets for different columns. This way you can have a group of things that go at the top and a group of things that go at the bottom, and specify what is on each column. What are your thoughts?
          Hide
          mcrooney mcrooney added a comment -

          Released in 1.0.8.

          Show
          mcrooney mcrooney added a comment - Released in 1.0.8.

            People

            Assignee:
            mcrooney mcrooney
            Reporter:
            mcrooney mcrooney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: