Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.21 KB

upgrading-sonarqube.md

File metadata and controls

31 lines (22 loc) · 1.21 KB

Upgrading SonarQube to latest Stable Release.

NOTE - Before proceeding further please make sure that you have created a backup. If not then follow Backup and Restore to create a backup.

Identify the latest released version.

Once the latest released version is identified we can update the corresponding version in the docker-compose.yml file.

SonarQube CE branch plugin.

This setup uses an additional plugin for branch analysis. When upgrading to the new version make sure to also upgrade this plugin as well. https://github.com/mc1arke/sonarqube-community-branch-plugin?tab=readme-ov-file#compatibility

Download the compatible version jar file and copy it to sonarqube-data/extensions/plugins/ directory.
Do not forget to remove the old files.

Update the corresponding version in the docker-compose.yml file.

Once version is updated, recreate container so it can use new version.

Upgrading the container.

docker-compose up -d

Checking the container logs.

docker-compose logs -f