aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevin-hinz <kevin.hinz@sonarsource.com>2022-10-05 16:07:13 +0200
committerPhilippe Perrin <philippe.perrin@sonarsource.com>2022-10-07 12:13:56 +0200
commitd3f6b8bef5066a586f939e7d8b017321fd00dde4 (patch)
treed19646d0126eb5e50f8b5b747a0b444c61fb94af
parent689272a3ef41e55614c8bd254bccff99945e24eb (diff)
downloadsonarqube-d3f6b8bef5066a586f939e7d8b017321fd00dde4.tar.gz
sonarqube-d3f6b8bef5066a586f939e7d8b017321fd00dde4.zip
DOC-103, warn about build number as projectVersion
-rw-r--r--server/sonar-docs/src/pages/analysis/analysis-parameters.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-docs/src/pages/analysis/analysis-parameters.md b/server/sonar-docs/src/pages/analysis/analysis-parameters.md
index 4b2aa804d0c..4292ecde1eb 100644
--- a/server/sonar-docs/src/pages/analysis/analysis-parameters.md
+++ b/server/sonar-docs/src/pages/analysis/analysis-parameters.md
@@ -44,7 +44,7 @@ Key | Description | Default
Key | Description | Default
---|----|---
`sonar.projectName`|Name of the project that will be displayed on the web interface.|`<name>` for Maven projects, otherwise project key. If not provided and there is already a name in the DB, it won't be overwritten.
-`sonar.projectVersion` | The project version. | `<version>` for Maven projects, otherwise "not provided".
+`sonar.projectVersion` | The project version. | `<version>` for Maven projects, otherwise "not provided". _Do not use_ your build number as `sonar.projectVersion`.
### Authentication
By default, user authentication is required to prevent anonymous users from browsing and analyzing projects on your instance, and you need to pass these parameters when running analyses. Authentication is enforced in the global Security(/instance-administration/security/) settings.