From ced2ca043fa14a5ad15a0170057074ef6cc8d651 Mon Sep 17 00:00:00 2001 From: Timothy Stone <tim.stone@kinsaleins.com> Date: Fri, 17 Mar 2023 11:35:11 -0400 Subject: [PATCH] docs: mvn-sonar notes and usage Update the README to with reference to TBC Usage for additional context to disable the job when SONAR_HOST_URL is defined. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b467ab5..97d8323 100644 --- a/README.md +++ b/README.md @@ -69,11 +69,11 @@ More info: * [Maven Surefire Plugin](https://maven.apache.org/surefire/maven-surefire-plugin) * [`surefire:test` parameters](https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html) -### SonarQube analysis job +### `mvn-sonar` job — SonarQube analysis This job is **disabled by default** and performs a SonarQube analysis of your code. -It is bound to the `test` stage, and uses the following variables: +The job is bound to the `test` stage and uses the following variables: | Name | description | default value | | ------------------------ | -------------------------------------- | ----------------- | @@ -94,6 +94,11 @@ If using Community Edition, you'll have to install the [sonarqube-community-bran :warning: Merge Request Analysis only works if you're running [Merge Request pipeline](https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines) strategy (default). +#### Disable the job + +> :information_source: See [Usage](https://to-be-continuous.gitlab.io/doc/usage/#example-3-disable-go-mod-outdated-job) +> for more information about disabling any job that MAY not be required in a project or group. + ### `mvn-dependency-check` job This job enables a manual [Dependency-Check](https://jeremylong.github.io/DependencyCheck/dependency-check-maven/configuration.html) -- GitLab