aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/src/pages
diff options
context:
space:
mode:
authorG. Ann Campbell <ann.campbell@sonarsource.com>2019-01-31 10:48:46 +0100
committersonartech <sonartech@sonarsource.com>2019-02-11 09:11:48 +0100
commitbc7e1d7ab9188e9892fc216ec13af622bab17e00 (patch)
tree18218555138644df60487177940b182519da7d9f /server/sonar-docs/src/pages
parent171e241f143dc29e2e815b308c08b06ae63977bc (diff)
downloadsonarqube-bc7e1d7ab9188e9892fc216ec13af622bab17e00.tar.gz
sonarqube-bc7e1d7ab9188e9892fc216ec13af622bab17e00.zip
SONAR-11631 document `sonar.codePeriodVersion`
and expand slightly on `sonar.projectVersion`
Diffstat (limited to 'server/sonar-docs/src/pages')
-rw-r--r--server/sonar-docs/src/pages/analysis/analysis-parameters.md3
1 files changed, 2 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 f88bbbbe2b1..e1962b9fb18 100644
--- a/server/sonar-docs/src/pages/analysis/analysis-parameters.md
+++ b/server/sonar-docs/src/pages/analysis/analysis-parameters.md
@@ -38,7 +38,8 @@ 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 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. If the project's New Code Period setting is `previous_version`, changing this value resets the project's New Code Period | `<version>` for Maven projects, otherwise "not provided"
+`sonar.codePeriodVersion` | When present, this _optional_, additional parameter acts as the project version for the purposes of resetting the New Code Period (see above), allowing a full semantic version (i.e. ending with build number, and so changing with each analysis) to be passed in to `sonar.projectVersion` _without_ resetting the new code period. Under these circumstances, the semantic version is stored with the analysis and available via Web Services and in the UI. | &nbsp;
### Authentication