-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Add support for Sonarqube 8.2.0 #156
Conversation
As per #58, the initial scan of a branch does not return the expected set of initial issues, however does currently support the new code in Sonarqube 8.2, as well setting the URL in Gitlab |
Any chance that will be integrated soon? |
Given this doesn't seem to identify new versus old issues correctly, I'm not keen on merging it, but also haven't had time to investigate why it's not working properly yet. |
I builded jar from this branch, but on launch I get this error:
|
Hello, I'm trying to build your branch, run it on sonarqube 8.3.
But the plugin is correctly present in plugin section (in sonarqube), and in the plugin folder (and lib/commons) . and I can't select a branch on the homepage . I'll retry with changing (in build.gradle) :
|
Not working for me, i get this error doing the build
Any suggestion? EDIT: Test Failed, but lib is working 😃 |
@migueltg it is correctly working for you ? on 8.3 ? |
I don´t test all but branches are working with 8.3.1.34397 |
I also tested against 8.3.1.34397 and it seems to work the same way as with 8.2. |
e0df748
to
e7219c4
Compare
It seems that some merge conflicts appeared. What's more, can I ask someone to make a review for this PR? |
.../github/mc1arke/sonarqube/plugin/ce/pullrequest/gitlab/GitlabServerPullRequestDecorator.java
Outdated
Show resolved
Hide resolved
I am testing Should it suppose to be under General ? |
@hydezhao there's no longer the concept of short or long term branch. All branches are baselined against the main branch (i.e. master). You can manage how long branches are retained for though: https://docs.sonarqube.org/latest/branches/overview/#header-3 |
ca7c16f
to
fb5af34
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Is only the review needed, or something else too? |
Do you have an estimation on when it will be reviewed? |
Will it include support for Bitbucket Cloud Code Insights? |
Sonarqube 8.2 introduced a new `ProjectDto` with associated changes in `ProjectAlmSettingsDao` to require this new class in various methods, as well as changes in `ComponentFinder` to allow retrieval of instances of a project. This change makes use of these new classes and methods to allow the Web Services for setting up ALM bindings to operate. As this class and the associated methods did not exist in previous versions of Sonarqube, this change breaks backwards compatibility, so means the plugin will now only support Sonarqube 8.2. Sonarqube 8.2 also provides the ability to set the optional URL parameter on a Gitlab project so that scans run outside of Gitlab CI operate properly, so the additional parameter is now included in the appropriate WebServices and the Gitlab decorator.
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Sonarqube 8.2 introduced a new
ProjectDto
with associated changes inProjectAlmSettingsDao
to require this new class in various methods, as well as changes inComponentFinder
to allow retrieval of instances of a project.As this class and the associated methods did not exist in previous versions of Sonarqube, this change breaks backwards compatibility, so means the plugin will now only support Sonarqube 8.2.
Sonarqube 8.2 also provides the ability to set the optional URL parameter on a Gitlab project so that scans run outside of Gitlab CI operate properly, so the additional parameter is now included in the appopriate WebServices and the Gitlab decorator.