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

Make coverage column optional in Dashboard Views

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • jacoco-plugin
    • None

      See JENKINS-16786, multiple user asked for having a configuration option to not show the coverage column in the Dashboard View. This ticket handles changes required for this.


      Update: Disabling is possible by just removing the column via "edit view", so this ticket is mostly about why the column is automatically added in new installations/views, not sure if this can be disabled, need to compare this with other column-plugins.

          [JENKINS-18894] Make coverage column optional in Dashboard Views

          Code changed in jenkins
          User: Dominik Stadler
          Path:
          src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java
          http://jenkins-ci.org/commit/jacoco-plugin/2e1b5035f8d77d31bc76103c1b2ba8283fb99e30
          Log:
          JENKINS-18894: Change descriptor to not show the column by default

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dominik Stadler Path: src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java http://jenkins-ci.org/commit/jacoco-plugin/2e1b5035f8d77d31bc76103c1b2ba8283fb99e30 Log: JENKINS-18894 : Change descriptor to not show the column by default

          Code changed in jenkins
          User: ognjenb
          Path:
          pom.xml
          src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column.jelly
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/columnHeader.jelly
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/columnHeader_de.properties
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column_de.properties
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config.jelly
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config_de.properties
          http://jenkins-ci.org/commit/jacoco-plugin/c4c14f764e874e59b02ef49fd26513f618bf0f27
          Log:
          Merge pull request #24 from centic9/JENKINS-18894

          JENKINS-18894: Do not include coverage column in new Dashboards by default

          Compare: https://github.com/jenkinsci/jacoco-plugin/compare/e73f8b163d83...c4c14f764e87

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ognjenb Path: pom.xml src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column.jelly src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/columnHeader.jelly src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/columnHeader_de.properties src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column_de.properties src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config.jelly src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config_de.properties http://jenkins-ci.org/commit/jacoco-plugin/c4c14f764e874e59b02ef49fd26513f618bf0f27 Log: Merge pull request #24 from centic9/ JENKINS-18894 JENKINS-18894 : Do not include coverage column in new Dashboards by default Compare: https://github.com/jenkinsci/jacoco-plugin/compare/e73f8b163d83...c4c14f764e87

          centic added a comment -

          This will be fixed in the next release of the jacoco-plugin.

          centic added a comment - This will be fixed in the next release of the jacoco-plugin.

          centic added a comment -

          This should be included in release 1.0.13

          centic added a comment - This should be included in release 1.0.13

          Is this issue resolved for the "All" view, or only for custom views?
          As far as I can tell it is not possible to edit the "All" view, so how do you remove the Coverage column from there?

          Andrea Gualano added a comment - Is this issue resolved for the "All" view, or only for custom views? As far as I can tell it is not possible to edit the "All" view, so how do you remove the Coverage column from there?

          centic added a comment -

          See https://wiki.jenkins-ci.org/display/JENKINS/Editing+or+Replacing+the+All+View, unfortunately it is somehow special and thus cannot be changed (at least not in the ui, you likely can adjust it somewhere in the xml-config files, but I am not sure where exactly).

          Your best option is probably to create a new view and set that as default in the overall jenkins settings, then you can adjust columns as you like.

          centic added a comment - See https://wiki.jenkins-ci.org/display/JENKINS/Editing+or+Replacing+the+All+View , unfortunately it is somehow special and thus cannot be changed (at least not in the ui, you likely can adjust it somewhere in the xml-config files, but I am not sure where exactly). Your best option is probably to create a new view and set that as default in the overall jenkins settings, then you can adjust columns as you like.

          Code changed in jenkins
          User: Dominik Stadler
          Path:
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column.jelly
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/columnHeader.jelly
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config.jelly
          src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config_de.properties
          http://jenkins-ci.org/commit/jacoco-plugin/dc83063c63ae4bd479ad12f5fe6ddbcda25f8a1d
          Log:
          JENKINS-18894: work on making the coverage column not part of the default set of columns

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dominik Stadler Path: src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column.jelly src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/columnHeader.jelly src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config.jelly src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/config_de.properties http://jenkins-ci.org/commit/jacoco-plugin/dc83063c63ae4bd479ad12f5fe6ddbcda25f8a1d Log: JENKINS-18894 : work on making the coverage column not part of the default set of columns

          Code changed in jenkins
          User: Dominik Stadler
          Path:
          src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java
          http://jenkins-ci.org/commit/jacoco-plugin/00c5a36b2fbe4d326c70b9b37d41af971c4204dc
          Log:
          JENKINS-18894: Change descriptor to not show the column by default

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dominik Stadler Path: src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java http://jenkins-ci.org/commit/jacoco-plugin/00c5a36b2fbe4d326c70b9b37d41af971c4204dc Log: JENKINS-18894 : Change descriptor to not show the column by default

          Code changed in jenkins
          User: Dominik Stadler
          Path:
          src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java
          http://jenkins-ci.org/commit/jacoco-plugin/c3c68d576aab557ebc05d646e657ea49ff969b40
          Log:
          JENKINS-18894: Change descriptor to not show the column by default

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dominik Stadler Path: src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java http://jenkins-ci.org/commit/jacoco-plugin/c3c68d576aab557ebc05d646e657ea49ff969b40 Log: JENKINS-18894 : Change descriptor to not show the column by default

            centic centic
            centic centic
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: