Documentation Nexus IQ Server 1.29

Our documentation site has moved. For the most current version, please see http://help.sonatype.com

21.4. Add and Configure the Sonatype CLM Widget

The final step is to add the Sonatype CLM Widget to your SonarQube project. This is done from the SonarQube Widget Configuration area.

  1. Click on the Configure Widgets button located in the top-right section of the screen.

    figs/web/sonarqube-clm-configure-widgets.png

    Figure 21.7. SonarQube Configure Widgets Button


  2. The easiest way to find the Sonatype CLM Report Summary widget is by using the SonarQube widget search (just enter Sonatype). Click on the Add Widget button to add the widget to your dashboard.

    figs/web/sonarqube-clm-widget-search.png

    Figure 21.8. SonarQube Search for CLM Widget


  3. Next, click on the Edit link in the top right of the Sonatype CLM Report Summary widget box. Several options will display.

    1. Select the Project you want to see Sonatype CLM data in.

      [Tip]

      The option to select a project is only available when adding the widget from a non-project-specific dashboard.

    2. Enter a Title. This appears above the summary information for the Sonatype CLM data.
    3. Choose the CLM Stage. The CLM stage selected affects which Application Composition Report will be used to display summary-level data. Be sure to pick the stage that best represents the state of your application when it is scanned by SonarQube. Default will use the Build stage.

      [Note]

      Due to technical constraints, the dropdown option also includes stages that might not be available for your license. Selecting any of those will however yield an error when accessing the IQ Server server.

    figs/web/sonarqube-clm-configure-clm-widget-options.png

    Figure 21.9. SonarQube Configure Sonatype CLM Widget options


  4. Click the Save button to save your selections.