]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-11631 document `sonar.codePeriodVersion`
authorG. Ann Campbell <ann.campbell@sonarsource.com>
Thu, 31 Jan 2019 09:48:46 +0000 (10:48 +0100)
committersonartech <sonartech@sonarsource.com>
Mon, 11 Feb 2019 08:11:48 +0000 (09:11 +0100)
and expand slightly on `sonar.projectVersion`

server/sonar-docs/src/pages/analysis/analysis-parameters.md

index f88bbbbe2b1caa69b4714d492f46022517d85638..e1962b9fb18f7b6c39f6d75d37e8920bad6a7435 100644 (file)
@@ -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