Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Analysis Report

After one of the SonarQube Scanners finished to analyze your code, results of this analysis (Sources, Issues, Metrics) called the Analysis Report is sent to SonarQube Server for further processing. Those Analysis Reports are queued and processed serially.

Administrators can view the current queue at Administration > Projects > Background Tasks.

You can filter Background Tasks according to their state: Success, Failed or Canceled

The "Only Latest Analysis" button will filter the Background Tasks by showing only the last import for each project.

You can also filter Background Tasks according to the starting date of import :

  • "Today" will show only the import the Analysis Reports of the day 
  • "Any Date" will remove the filter on the Start Date
  • "Custom" will allow you to choose a period of time

 

On the top of the page, you have 2 counters showing the number of Analysis Report not processed (pending or failed). The first counter show the number of Analysis Report waiting to be processed (pending) knowing that there is only 1 Analysis Report that can be processed at the same time.
The second counter shows the number of failed import.

 

For each Analysis Report under process, failed or successfully imported, you can view the logs of the import by clicking on the "Logs" link you have on each row. An history of logs of 6 months is kept for each Project. This is subject to change without notice and it is not configurable.

The Background Task under processing is marked with a rolling icon and you can see the current time it's taking to process it :

Logs of Background Tasks executed are stored here SONARQUBE_HOME/data/ce/logs/REPORT

Note

Note that Code Scanning is not complete until the Background Tasks has been processed. Even though the SonarQube Scanner's log shows EXECUTION SUCCESS, the analysis results will not be visible in the SonarQube project until after the processing of the Background Task has been completed.

Other Task

The Background Tasks page allows you to follow the progress of Analysis Report import but also to follow other task execution such as for example Views Computation trigger by the Views Plugin.

  • No labels