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

Add columns to the main view that show the number of warnings

    Details

    • Similar Issues:

      Description

      Jenkins provides an extension point to add new columns to the list views. The analysis plug-ins should also provide new columns for:

      • number of warnings
      • plug-in status

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            Integrated in Jenkins Analysis Plug-ins (Compile) #609
            JENKINS-17187 Added base class for a #warnings view column. (Revision e546869b89ce27bfd2e4e9695fdd88731e4d41c3)

            Result = SUCCESS

            Show
            drulli Ulli Hafner added a comment - Integrated in Jenkins Analysis Plug-ins (Compile) #609 JENKINS-17187 Added base class for a #warnings view column. (Revision e546869b89ce27bfd2e4e9695fdd88731e4d41c3) Result = SUCCESS
            Hide
            sschuberth Sebastian Schuberth added a comment -

            Now that this is implemented (thanks!), would you mind to briefly describe how this works? In particular, is it possible now that only one column is added to a view, and multiple jobs in the view can show output from different analysis plugin in the same column (but different rows)? For example, suppose I have one job that publishes FindBugs results, and one job that publishes Android Lint results. Both jobs are shown in different rows of the same view. Can I now add a single column which would show the FindBugs warnings for the FindBugs job, and the Lint warnings for the Android Lint job? Or would I have to add two separate columns, one for each?

            Show
            sschuberth Sebastian Schuberth added a comment - Now that this is implemented (thanks!), would you mind to briefly describe how this works? In particular, is it possible now that only one column is added to a view, and multiple jobs in the view can show output from different analysis plugin in the same column (but different rows)? For example, suppose I have one job that publishes FindBugs results, and one job that publishes Android Lint results. Both jobs are shown in different rows of the same view. Can I now add a single column which would show the FindBugs warnings for the FindBugs job, and the Lint warnings for the Android Lint job? Or would I have to add two separate columns, one for each?
            Hide
            drulli Ulli Hafner added a comment -

            I thought the functionality is quite self explanatory. In order to show the FindBugs results in a column you need to add the FindBugs column. In order to show the results of all tools in one column you need to install and activate the analysis-collector plug-in. Then you need to add the "Number of warnings" column.

            Show
            drulli Ulli Hafner added a comment - I thought the functionality is quite self explanatory. In order to show the FindBugs results in a column you need to add the FindBugs column. In order to show the results of all tools in one column you need to install and activate the analysis-collector plug-in. Then you need to add the "Number of warnings" column.
            Hide
            sschuberth Sebastian Schuberth added a comment -

            Thanks. I did this now, but when adding the "Number of warnings" column to a view I see only a checkbox labeled "FindBugs warnings" below the column description. I'm using a self--compiled version of the Android Lint plugin on my Jenkins which has view column support merged [1], so I was expecting Android Lint to also show up as a checkbox to the "Number of warnings" column provided by the analysis-collector. Any idea why that checkbox does not show up?

            [1] https://github.com/jenkinsci/android-lint-plugin/pull/4

            Show
            sschuberth Sebastian Schuberth added a comment - Thanks. I did this now, but when adding the "Number of warnings" column to a view I see only a checkbox labeled "FindBugs warnings" below the column description. I'm using a self--compiled version of the Android Lint plugin on my Jenkins which has view column support merged [1] , so I was expecting Android Lint to also show up as a checkbox to the "Number of warnings" column provided by the analysis-collector. Any idea why that checkbox does not show up? [1] https://github.com/jenkinsci/android-lint-plugin/pull/4
            Hide
            drulli Ulli Hafner added a comment -

            The android lint plug-in is not part of the analysis collector plug-in. (See also JENKINS-17168)

            Show
            drulli Ulli Hafner added a comment - The android lint plug-in is not part of the analysis collector plug-in. (See also JENKINS-17168 )

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                drulli Ulli Hafner
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: