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

Manage columns

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently it's impossible to add or at least to remove columns from the view like it's possible in List View.
      For us this is pretty important because when we have a lot of subviews with their jobs, plugin starts calculating the 'weather' and status traversing all the builds which is extremely slow. In our case it takes 60 seconds. You can find a pull request in comments that allows removing columns which speeds us up to 2 seconds.

        Attachments

          Activity

          Hide
          ctapobep Stanislav Bashkyrtsev added a comment -

          A pull request was created to fix this issue, would be great to get this functionality released soon..

          Show
          ctapobep Stanislav Bashkyrtsev added a comment - A pull request was created to fix this issue, would be great to get this functionality released soon..
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: sbashkyrtsev
          Path:
          src/main/java/hudson/plugins/nested_view/AvailableColumns.java
          src/main/java/hudson/plugins/nested_view/NestedView.java
          src/main/resources/hudson/plugins/nested_view/NestedView/configure-entries.jelly
          src/main/resources/hudson/plugins/nested_view/NestedView/main.jelly
          src/test/java/hudson/plugins/nested_view/NestedViewTest.java
          http://jenkins-ci.org/commit/nested-view-plugin/052d6fe1ea66cb9ecdae5f635b22ce9190d7c8a7
          Log:
          #JENKINS-17352 Initial commit on adding functionality to manage Weather & Status columns. Tests were committed, but are going to be uncommitted

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: sbashkyrtsev Path: src/main/java/hudson/plugins/nested_view/AvailableColumns.java src/main/java/hudson/plugins/nested_view/NestedView.java src/main/resources/hudson/plugins/nested_view/NestedView/configure-entries.jelly src/main/resources/hudson/plugins/nested_view/NestedView/main.jelly src/test/java/hudson/plugins/nested_view/NestedViewTest.java http://jenkins-ci.org/commit/nested-view-plugin/052d6fe1ea66cb9ecdae5f635b22ce9190d7c8a7 Log: # JENKINS-17352 Initial commit on adding functionality to manage Weather & Status columns. Tests were committed, but are going to be uncommitted
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: sbashkyrtsev
          Path:
          pom.xml
          src/main/java/hudson/plugins/nested_view/AvailableColumns.java
          src/main/java/hudson/plugins/nested_view/NestedView.java
          src/main/java/hudson/plugins/nested_view/NestedViewColumns.java
          src/main/resources/hudson/plugins/nested_view/NestedView/configure-entries.jelly
          src/test/java/hudson/plugins/nested_view/NestedViewTest.java
          http://jenkins-ci.org/commit/nested-view-plugin/b587a8b6619e1f8baa7759d42b3d981dd0481e3f
          Log:
          #JENKINS-17352 Returned back unit tests, small refactoring

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: sbashkyrtsev Path: pom.xml src/main/java/hudson/plugins/nested_view/AvailableColumns.java src/main/java/hudson/plugins/nested_view/NestedView.java src/main/java/hudson/plugins/nested_view/NestedViewColumns.java src/main/resources/hudson/plugins/nested_view/NestedView/configure-entries.jelly src/test/java/hudson/plugins/nested_view/NestedViewTest.java http://jenkins-ci.org/commit/nested-view-plugin/b587a8b6619e1f8baa7759d42b3d981dd0481e3f Log: # JENKINS-17352 Returned back unit tests, small refactoring
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: stanislav bashkirtsev
          Path:
          pom.xml
          src/main/java/hudson/plugins/nested_view/NestedView.java
          src/main/java/hudson/plugins/nested_view/NestedViewColumns.java
          src/main/resources/hudson/plugins/nested_view/NestedView/configure-entries.jelly
          src/main/resources/hudson/plugins/nested_view/NestedView/main.jelly
          src/test/java/hudson/plugins/nested_view/NestedViewTest.java
          http://jenkins-ci.org/commit/nested-view-plugin/a024dfb92db4a31824b24b2b196cd413c1c9144a
          Log:
          Merge pull request #7 from ctapobep/master

          JENKINS-17352 Added ability to manage Weather and Status columns

          Compare: https://github.com/jenkinsci/nested-view-plugin/compare/151d129a6a2a...a024dfb92db4

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: stanislav bashkirtsev Path: pom.xml src/main/java/hudson/plugins/nested_view/NestedView.java src/main/java/hudson/plugins/nested_view/NestedViewColumns.java src/main/resources/hudson/plugins/nested_view/NestedView/configure-entries.jelly src/main/resources/hudson/plugins/nested_view/NestedView/main.jelly src/test/java/hudson/plugins/nested_view/NestedViewTest.java http://jenkins-ci.org/commit/nested-view-plugin/a024dfb92db4a31824b24b2b196cd413c1c9144a Log: Merge pull request #7 from ctapobep/master JENKINS-17352 Added ability to manage Weather and Status columns Compare: https://github.com/jenkinsci/nested-view-plugin/compare/151d129a6a2a...a024dfb92db4
          Hide
          ctapobep Stanislav Bashkyrtsev added a comment -

          Was released in 1.10.

          Show
          ctapobep Stanislav Bashkyrtsev added a comment - Was released in 1.10.
          Hide
          ljohnston Lance Johnston added a comment -

          While this ticket is indeed resolved, it is a resolution that works around the problem rather than solving it. While disabling the columns does eliminate the performance issue, ideally we'd have the option of enabling the columns and having the display be performant. Is such a solution possible? I'd be happy to open a separate ticket, but not knowing if it's doable or not, I didn't want to open a ticket just to have it closed.

          Show
          ljohnston Lance Johnston added a comment - While this ticket is indeed resolved, it is a resolution that works around the problem rather than solving it. While disabling the columns does eliminate the performance issue, ideally we'd have the option of enabling the columns and having the display be performant. Is such a solution possible? I'd be happy to open a separate ticket, but not knowing if it's doable or not, I didn't want to open a ticket just to have it closed.
          Hide
          ctapobep Stanislav Bashkyrtsev added a comment -

          I don't think it's doable - you'd need to iterate over every job to get their weather and status (which is calculated every time).

          Show
          ctapobep Stanislav Bashkyrtsev added a comment - I don't think it's doable - you'd need to iterate over every job to get their weather and status (which is calculated every time).

            People

            • Assignee:
              ctapobep Stanislav Bashkyrtsev
              Reporter:
              ctapobep Stanislav Bashkyrtsev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: