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

Support for SonarQube version 6.x #38

Open
meddulla opened this issue Feb 14, 2017 · 15 comments
Open

Support for SonarQube version 6.x #38

meddulla opened this issue Feb 14, 2017 · 15 comments

Comments

@meddulla
Copy link

Hi,

Are there any plans to upgrade to the latest SonarQube (6.x)? If not, do you have any idea on the amount of work required and would you be open to a pull request on this?

Thanks

@s3ni0r
Copy link

s3ni0r commented Feb 25, 2017

i'm also in need of getting this to work with SonarQube version 6.0 ...

@RadoBuransky
Copy link
Owner

I can try to look at it within a week...Thanks.

@RadoBuransky
Copy link
Owner

There's quite a lot of breaking changes and deprecated stuff. I am not sure if I have enough time to fix it. Or I am just too lazy. Any volunteers?

@s3ni0r
Copy link

s3ni0r commented Apr 6, 2017

I really would like to, but i'm not familiar with the code base, it will take me even longer to understand and fix what has to be fixed.

@zafarella
Copy link

@RadoBuransky push the branch with draft u have to repo, ppl can send PRs when time permits
+1 for support

@RadoBuransky
Copy link
Owner

I haven't gotten anywhere practically. Feel free to be the first one!

@MichaelZinsmaier
Copy link
Contributor

hey guys,

I have sketched out an update to version 6.3 for our own environment. You can find it on the
dev branch of my fork. However there are some major issues (see Readme).

If somebody wants to continue from there feel free to do so. An alternative would be a rewrite dropping support for old scoverage files, revisting the whole relative / absolute branch issues ...

Also checkout https://github.com/Sagacify/sonar-scala I think it would be best to join efforts!
Especially since I have a feeling that some of the issues might be related to "hacky" language definition ...

Best regards Michael

@ryan-barker-zefr
Copy link

@MichaelZinsmaier I tried to build and upload your plugin but got the following error:
java.lang.IllegalStateException: Unable to read plugin manifest from jar : /opt/sonarqube/extensions/plugins/sonar-scoverage-plugin-5.1.3.jar
Any ideas?

@MichaelZinsmaier
Copy link
Contributor

hm not much could be a version conflict? My current dev branch is intended for SonarQube 6.3
apart from that I just run a standard maven build and then drop the jar file in the extension folder
(test system is a linux system)

sry never saw this happening good luck

@Zephirin
Copy link

@MichaelZinsmaier So we ( @ryan-barker-zefr and I ) were able to get the plugin installed on SonarQube 6.3 but the scala language is not showing up as something I can put on a Quality Profile. Any ideas where to start?

@JlccX
Copy link

JlccX commented May 30, 2017

Hi guys, I would like to update the plugin code in order to add support for Sonarqube 6.x.
Anybody knows If there are a small manual or tutorials about how to to start it.

@MichaelZinsmaier
Copy link
Contributor

@Zephirin sorry no idea what the issue could be
@JL-ChoqueChavez

I used mainly the following sources
github
extension guide
release notes

sadly the sonar guys do change a lot between versions and plugin documentation is sparse and slightly outdated. Looking at Git / the code is quite helpful from time to time.

good luck!

@JlccX
Copy link

JlccX commented Jun 8, 2017

@Zephirin

Just in case I tried to use SonarQube 6.4 with the scoverage plugin.
If you use the scoverage plugin version 5.1.2, SonarQube detects and allow you to create the Scala profile, after to set as default the Scala profile I executed the sonar-scanner application and the scoverage report content was successfully imported to SonarQube 6.4.

but this logic is not working with the scoverage plugin 5.1.3, because you cannot create the Scala profile.

@dmtwng
Copy link

dmtwng commented Aug 8, 2017

@JlccX how did you view statement coverage on SonarQube? As I understand, the plugin creates custom widget to view it. But all custom dashboards and widgets was dropped in SonarQube v6.2 (SONAR-8354).

Could you please provide some document or steps how to view statement coverage on SonarQube 6.4 with this plugin?

@JlccX
Copy link

JlccX commented Jan 2, 2018

Hi guys
Just in case I found a new plugin that you can use to import scoverage (scala) code coverage reports into sonarqube 6.x.

The plugins link is: https://github.com/Sagacify/sonar-scala/releases

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

No branches or pull requests

9 participants