From: Houa Yang Date: Fri, 30 Aug 2019 14:23:08 +0000 (-0500) Subject: Add Sonar plug-in configurations to docs X-Git-Tag: v0.43.0~11 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F48%2F61548%2F1;p=releng%2Fglobal-jjb.git Add Sonar plug-in configurations to docs Add documentation for configuring the Jenkins Sonarqube Scanner plug-in. Signed-off-by: Houa Yang Change-Id: I21b21efc6cefa3f4f643a0235d670c6e1ec4ac08 --- diff --git a/docs/jjb/lf-ci-jobs.rst b/docs/jjb/lf-ci-jobs.rst index 1d3e6c10..9883dd7a 100644 --- a/docs/jjb/lf-ci-jobs.rst +++ b/docs/jjb/lf-ci-jobs.rst @@ -814,6 +814,19 @@ Sonar 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 diff --git a/docs/jjb/lf-macros.rst b/docs/jjb/lf-macros.rst index b17328ad..1b1b9765 100644 --- a/docs/jjb/lf-macros.rst +++ b/docs/jjb/lf-macros.rst @@ -280,7 +280,9 @@ Forcibly removes all of the docker images. 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: "")