diff --git a/kicker.json b/kicker.json index 57d6a484077b531036eaae96cb672e4a722fafb7..4713054d7a340716e9e9d75efda8d1c8e1438d26 100644 --- a/kicker.json +++ b/kicker.json @@ -63,7 +63,7 @@ }, { "name": "SONAR_TOKEN", - "description": "SonarQube authentication token (see https://docs.sonarqube.org/latest/user-guide/user-token/) - depends on your authentication method", + "description": "SonarQube authentication token (see https://docs.sonarsource.com/sonarqube-server/latest/user-guide/managing-tokens/) - depends on your authentication method", "secret": true }, { @@ -78,13 +78,13 @@ }, { "name": "SONAR_BASE_ARGS", - "description": "SonarQube [analysis arguments](https://docs.sonarqube.org/latest/analysis/analysis-parameters/)", + "description": "SonarQube [analysis arguments](https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/analysis-parameters/)", "default": "sonar:sonar -Dsonar.links.homepage=${CI_PROJECT_URL} -Dsonar.links.ci=${CI_PROJECT_URL}/-/pipelines -Dsonar.links.issue=${CI_PROJECT_URL}/-/issues", "advanced": true }, { "name": "SONAR_QUALITY_GATE_ENABLED", - "description": "Enables SonarQube [Quality Gate](https://docs.sonarqube.org/latest/user-guide/quality-gates/) verification.\n\n_Uses `sonar.qualitygate.wait` parameter ([see doc](https://docs.sonarqube.org/latest/analysis/ci-integration-overview/#header-1))._", + "description": "Enables SonarQube [Quality Gate](https://docs.sonarsource.com/sonarqube-server/latest/instance-administration/analysis-functions/quality-gates/) verification.\n\n_Uses `sonar.qualitygate.wait` parameter ([see doc](https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/ci-integration/overview/#quality-gate-fails))._", "type": "boolean" } ] diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml index 933b2c9c0cab370cf0efe3b8f5f243e9a4eb4233..bfac68713c4b3f7e3d23ed253e3d82b80e4e1ddf 100644 --- a/templates/gitlab-ci-maven.yml +++ b/templates/gitlab-ci-maven.yml @@ -53,18 +53,18 @@ spec: description: SonarQube server url default: '' sonar-base-args: - description: SonarQube [analysis arguments](https://docs.sonarqube.org/latest/analysis/analysis-parameters/) + description: SonarQube [analysis arguments](https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/analysis-parameters/) default: >- sonar:sonar -Dsonar.links.homepage=${CI_PROJECT_URL} -Dsonar.links.ci=${CI_PROJECT_URL}/-/pipelines -Dsonar.links.issue=${CI_PROJECT_URL}/-/issues sonar-quality-gate-enabled: - description: 'Enables SonarQube [Quality Gate](https://docs.sonarqube.org/latest/user-guide/quality-gates/) + description: 'Enables SonarQube [Quality Gate](https://docs.sonarsource.com/sonarqube-server/latest/instance-administration/analysis-functions/quality-gates/) verification. - _Uses `sonar.qualitygate.wait` parameter ([see doc](https://docs.sonarqube.org/latest/analysis/ci-integration-overview/#header-1))._' + _Uses `sonar.qualitygate.wait` parameter ([see doc](https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/ci-integration/overview/#quality-gate-fails))._' type: boolean default: false dependency-check-disabled: @@ -200,8 +200,8 @@ variables: # Maven build arguments MAVEN_BUILD_ARGS: $[[ inputs.build-args ]] # Sonar base analysis default args - # see: https://docs.sonarqube.org/latest/analysis/analysis-parameters/ - # default uses branch analysis: https://docs.sonarqube.org/latest/branches/overview/ + # see: https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/analysis-parameters/ + # default uses branch analysis: https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/branch-analysis/introduction/ SONAR_BASE_ARGS: $[[ inputs.sonar-base-args ]] # Dependency Check arguments MAVEN_DEPENDENCY_CHECK_ARGS: $[[ inputs.dependency-check-args ]] @@ -644,7 +644,7 @@ mvn-sonar: stage: test extends: .mvn-base variables: - # see: https://docs.sonarqube.org/latest/analysis/gitlab-integration/#header-4 + # see: https://docs.sonarsource.com/sonarqube-server/latest/devops-platform-integration/gitlab-integration/setting-up-at-project-level/ SONAR_USER_HOME: "${CI_PROJECT_DIR}/${MAVEN_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache GIT_DEPTH: 0 # Tells git to fetch all the branches of the project, required by the analysis task cache: