Skip to content

Commit

Permalink
Update ${version} on Manual Install in order to avoid confusion
Browse files Browse the repository at this point in the history
Moves away from using a fixed version number in the installation instructions to prevent issues with users copy-pasting an old version number.
  • Loading branch information
Nimble85 authored Dec 10, 2022
1 parent c4fce38 commit 874b9f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ or [download a compatible release version of the plugin JAR](https://github.com/
1. Copy the plugin JAR file to the `extensions/plugins/` directory of your SonarQube instance
2. Add `-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=web` to
the `sonar.web.javaAdditionalOpts` property in your Sonarqube installation's `conf/sonar.properties` file,
e.g. `sonar.web.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.8.0.jar=web`
e.g. `sonar.web.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=web`
where ${version} is the version of the plugin being worked with. e.g `1.8.0`
3. Add `-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=ce` to
the `sonar.ce.javaAdditionalOpts` property in your Sonarqube installation's `conf/sonar.properties` file,
e.g. `sonar.ce.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.8.0.jar=ce`
e.g. `sonar.ce.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=ce`
4. Start Sonarqube, and accept the warning about using third-party plugins

## Docker
Expand Down

0 comments on commit 874b9f2

Please sign in to comment.