Add documentation for configuring the Jenkins Sonarqube Scanner plug-in.
Signed-off-by: Houa Yang <hyang@contractor.linuxfoundation.org>
Change-Id: I21b21efc6cefa3f4f643a0235d670c6e1ec4ac08
Runs Jenkins Sonarqube plug-in to review for bugs, code smells,
and security vulnerabilities.
+Requires ``SonarQube Scanner for Jenkins``
+
+Plug-in configurations
+ Manage Jenkins --> Configure System --> SonarQube servers
+ - Name: Sonar (fixed)
+ - Server URL: https://sonar.server.org/
+ - Server authentication token: none
+
+ Manage Jenkins --> Global Tool Configuration --> SonarQube Scanner
+ - Name: SonarQube Scanner (fixed)
+ - Install automatically
+ - Select latest version
+
:Template Names:
- {project-name}-sonar
lf-infra-sonar
---------------
-Runs Jenkins Sonar plug-in
+Runs Jenkins SonarQube plug-in.
+
+Requires ``SonarQube Scanner for Jenkins``
:Optional Parameters:
:sonar-task: Sonar task to run. (default: "")