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, and 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 waiting to be processed. This is displayed
Once a has been processed, it moves to the Past Reports list:
Once the batch has moved to the Past Reports list, the analysis results will be visible in the SonarQube project.
Note that the analysis is not complete until the batch has been processed. Even though the client-side log shows
EXECUTION SUCCESS, the analysis results will not be visible in the SonarQube project until after the processing of the batch has been completed.
A log of the batch processing is available in SONARQUBE_HOME/logs/analysis_reports.log.
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.