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

"Hide zero warnings projects" can not be enabled from GUI

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The android lint project can show the projects with lint issues in a Dashboard view ("Android Lint issues per project" - Portlet). This works fine so far. However, all the projects are shown thene, even the ones with zero warnings.

      In theory there is a checkbox where you can enable "Hide zero warnings projects". However, enabling this and Applying it to the view has no effect, and after reload, the checkbox is disabled again. This works fine for the "Compiler warnings per project" portlet.

      However, changing the value in the config file manually (jenkins/config.xml):

      fromm

      <org.jenkinsci.plugins.android__lint.dashboard.WarningsTablePortlet plugin="android-lint@2.1">
      <id>dashboard_portlet_20550</id>
      <name>Android Lint issues per project</name>
      <canHideZeroWarningsProjects>true</canHideZeroWarningsProjects>
      </org.jenkinsci.plugins.android__lint.dashboard.WarningsTablePortlet>

      to

      <org.jenkinsci.plugins.android__lint.dashboard.WarningsTablePortlet plugin="android-lint@2.1">
      <id>dashboard_portlet_20550</id>
      <name>Android Lint issues per project</name>
      <canHideZeroWarningsProjects>true</canHideZeroWarningsProjects>
      </org.jenkinsci.plugins.android__lint.dashboard.WarningsTablePortlet>

      works and enables the checkbox!

      The problem is that changing anything in the view disables the checkbox again...

        Attachments

          Activity

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              rggjan rggjan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: