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

When sorting by state of an issue (e.g. 'JL-19'), the second sort criteria should be the job name

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: jenkinslint-plugin
    • Labels:
    • Environment:
      Jenkins 2.71 running using JDK1.8_141 on RH6 Linux, no container
      jenkinslint 0.10.1
    • Similar Issues:

      Description

      Guess the title mostly says it...

      Currently when sorting by an issue, the name of the jobs are random.
      I would like to see them sorted as second criteria (in alphabetically ascending order)
      This would group "similar" job names together and because our job names are structured for purpose, this would help.

        Attachments

          Activity

          Hide
          v2v Victor Martinez added a comment - - edited

          This is a fair requirement. At the moment it does only sort by status as you mentioned, let's then use 

          • Status + JobName

          Although it will be partially fixed since the sorted column works asc/desc but it's a global order rather than a partial one.  

          See the attached screenshots which shows the JL-2 column:

           

          It seems much better than the current order, but there is a limitation of ordering based on two different columns.

          Cheers

           

           

           

          Show
          v2v Victor Martinez added a comment - - edited This is a fair requirement. At the moment it does only sort by status as you mentioned, let's then use  Status + JobName Although it will be partially fixed since the sorted column works asc/desc but it's a global order rather than a partial one.   See the attached screenshots which shows the JL-2 column:   It seems much better than the current order, but there is a limitation of ordering based on two different columns. Cheers      
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
          http://jenkins-ci.org/commit/jenkinslint-plugin/533c320614cb8caea9391107f7f03b34449e680d
          Log:
          JENKINS-46033 Column ordering based on Status and JobName

          Change-Id: I35bf35f5598eea962d20ff4c824d51f5fd89505f

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly http://jenkins-ci.org/commit/jenkinslint-plugin/533c320614cb8caea9391107f7f03b34449e680d Log: JENKINS-46033 Column ordering based on Status and JobName Change-Id: I35bf35f5598eea962d20ff4c824d51f5fd89505f
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
          http://jenkins-ci.org/commit/jenkinslint-plugin/fb24d88ef5fcded4b432e0f51c48c83f4dbae095
          Log:
          JENKINS-46033 Column ordering based on Status and JobName (#28)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly http://jenkins-ci.org/commit/jenkinslint-plugin/fb24d88ef5fcded4b432e0f51c48c83f4dbae095 Log: JENKINS-46033 Column ordering based on Status and JobName (#28)
          Hide
          v2v Victor Martinez added a comment -

          Will be released in the upcoming release: 0.11.0

          Show
          v2v Victor Martinez added a comment - Will be released in the upcoming release: 0.11.0
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JobLintAction/index.jelly
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/SlaveLintAction/index.jelly
          http://jenkins-ci.org/commit/jenkinslint-plugin/e50e0594b4b62487c8bc8f343c5ae9c854646356
          Log:
          JENKINS-46033 Column ordering based on Status and JobName, missing some tables in the previous fix

          Change-Id: Iefc139b8ab642aa206624312f9a35a5eb829232c

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: src/main/resources/org/jenkins/ci/plugins/jenkinslint/JobLintAction/index.jelly src/main/resources/org/jenkins/ci/plugins/jenkinslint/SlaveLintAction/index.jelly http://jenkins-ci.org/commit/jenkinslint-plugin/e50e0594b4b62487c8bc8f343c5ae9c854646356 Log: JENKINS-46033 Column ordering based on Status and JobName, missing some tables in the previous fix Change-Id: Iefc139b8ab642aa206624312f9a35a5eb829232c
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JobLintAction/index.jelly
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/SlaveLintAction/index.jelly
          http://jenkins-ci.org/commit/jenkinslint-plugin/4637878c82633b286749e82ddb07ef5b100a85db
          Log:
          JENKINS-46033 Column ordering based on Status and JobName, missing some tables in the previous fix (#36)

          Change-Id: Iefc139b8ab642aa206624312f9a35a5eb829232c

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: src/main/resources/org/jenkins/ci/plugins/jenkinslint/JobLintAction/index.jelly src/main/resources/org/jenkins/ci/plugins/jenkinslint/SlaveLintAction/index.jelly http://jenkins-ci.org/commit/jenkinslint-plugin/4637878c82633b286749e82ddb07ef5b100a85db Log: JENKINS-46033 Column ordering based on Status and JobName, missing some tables in the previous fix (#36) Change-Id: Iefc139b8ab642aa206624312f9a35a5eb829232c

            People

            • Assignee:
              v2v Victor Martinez
              Reporter:
              martinjost Martin Jost
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: