Merge pull request #1635 from SonarSource/pierre-guillot-sonarsource-patch-1

Fix SonarQube 8.1 instructions with tag
This commit is contained in:
Tianon Gravi 2020-01-13 16:49:10 -08:00 committed by GitHub
commit 1a76037e4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ Follow these steps for your first installation:
-v $SONARQUBE_HOME/conf:/opt/sonarqube/conf \ -v $SONARQUBE_HOME/conf:/opt/sonarqube/conf \
-v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \ -v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \
-v $SONARQUBE_HOME/data:/opt/sonarqube/data \ -v $SONARQUBE_HOME/data:/opt/sonarqube/data \
%%IMAGE%% --init %%IMAGE%%:community-beta --init
``` ```
3. Configure sonar.properties to configure the database settings. Templates are available for every supported database. Just uncomment and configure the template you need and comment out the lines dedicated to H2: 3. Configure sonar.properties to configure the database settings. Templates are available for every supported database. Just uncomment and configure the template you need and comment out the lines dedicated to H2:
@ -143,7 +143,7 @@ Follow these steps for your first installation:
-v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \ -v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \
-v $SONARQUBE_HOME/logs:/opt/sonarqube/logs \ -v $SONARQUBE_HOME/logs:/opt/sonarqube/logs \
-v $SONARQUBE_HOME/data:/opt/sonarqube/data \ -v $SONARQUBE_HOME/data:/opt/sonarqube/data \
%%IMAGE%% %%IMAGE%%:community-beta
``` ```
## Upgrade SonarQube ## Upgrade SonarQube
@ -179,7 +179,7 @@ Follow these steps to upgrade SonarQube:
-v $SONARQUBE_HOME/conf:/opt/sonarqube/conf \ -v $SONARQUBE_HOME/conf:/opt/sonarqube/conf \
-v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \ -v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \
-v $SONARQUBE_HOME/data:/opt/sonarqube/data \ -v $SONARQUBE_HOME/data:/opt/sonarqube/data \
%%IMAGE%% --init %%IMAGE%%:community-beta --init
``` ```
4. Take a look at the [Upgrade Guide](https://docs.sonarqube.org/latest/setup/upgrading/) for information on: 4. Take a look at the [Upgrade Guide](https://docs.sonarqube.org/latest/setup/upgrading/) for information on:
@ -204,7 +204,7 @@ Follow these steps to upgrade SonarQube:
-v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \ -v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions \
-v $SONARQUBE_HOME/logs:/opt/sonarqube/logs \ -v $SONARQUBE_HOME/logs:/opt/sonarqube/logs \
-v $SONARQUBE_HOME/data:/opt/sonarqube/data \ -v $SONARQUBE_HOME/data:/opt/sonarqube/data \
%%IMAGE%% %%IMAGE%%:community-beta
``` ```
7. Browse to `http://yourSonarQubeServerURL/setup` and follow the setup instructions. 7. Browse to `http://yourSonarQubeServerURL/setup` and follow the setup instructions.