Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to 1.6.0 community branch plugin #29

Closed
vdelendik opened this issue Nov 16, 2020 · 6 comments
Closed

migrate to 1.6.0 community branch plugin #29

vdelendik opened this issue Nov 16, 2020 · 6 comments
Assignees
Milestone

Comments

@vdelendik
Copy link
Contributor

new 1.5.0 community branch plugin released:
https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/tag/1.5.0

let's try to move onto this version and if possible upgrade sonarqube instance to 8.4 as well

@vdelendik vdelendik added this to the 1.3 milestone Nov 16, 2020
@vdelendik vdelendik self-assigned this Nov 29, 2020
@vdelendik vdelendik changed the title migrate to 1.5.0 community branch plugin migrate to 1.6.0 community branch plugin Dec 1, 2020
@vdelendik
Copy link
Contributor Author

1.6.0 is available

@vdelendik
Copy link
Contributor Author

mc1arke/sonarqube-community-branch-plugin#1
aboe ticket is fixed in 1.4.0+ so current 1.3.2 has exactly the same problem

@dhreben dhreben self-assigned this Mar 3, 2021
@dhreben
Copy link
Contributor

dhreben commented Mar 3, 2021

Steps to upgrade community branch plugin 1.6.0

1.Git clone from develop branch
2.Create folders /opt/sonarqube/extensions/plugins/ and /opt/sonarqube/lib/common/
3.copy sonarqube-community-branch-plugin-1.6.0.jar to this paths
4.cp sonarqube-community-branch-plugin-1.6.0.jar /zebrunner/sonarqube/
5.cd zebrunner/sonarqube/
6.nano Dockerfile and change old version to 8.5-community
7.nano docker-compose.yml
8.Enter image: "sonarqube:8.5-community"
9.After the volumes, enter these paths:

- /home/ec2-user/tools/zebrunner/sonarqube/sonarqube-community-branch-plugin-1.6.0.jar:/opt/sonarqube/lib/common/sonarqube-community-branch-plugin-1.6.0.jar
- /home/ec2-user/tools/zebrunner/sonarqube/sonarqube-community-branch-plugin-1.6.0.jar:/opt/sonarqube/extensions/plugins/sonarqube-community-branch-plugin-1.6.0.jar

10./zebrunner.sh setup
11.Open ec2 insane link http://......./sonarqube/admin/marketplace?filter=installed and check that community branch plugin 1.6.0 was installed.

@dhreben dhreben closed this as completed Mar 3, 2021
@ghost
Copy link

ghost commented Mar 9, 2021

Verified on develop branch. Plugin is not installed in Sonar.

@ghost ghost reopened this Mar 9, 2021
@vdelendik
Copy link
Contributor Author

done. in order to fix provided relative path for plugins folder and removed old 1.3.2 plugin: 67cd12e

I'm going to test extra task just to test how upgrade should be applied for sonarqube. Potentially it might include destroy of everything from previous versions :(

@ghost
Copy link

ghost commented Mar 10, 2021

Plugin is updated on sonar, but after upgrade sonar is not started.
This ticket is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants