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

SonarQube module for Robocop #759

Open
AurelienSoulet opened this issue Dec 28, 2022 · 2 comments
Open

SonarQube module for Robocop #759

AurelienSoulet opened this issue Dec 28, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@AurelienSoulet
Copy link

Hello,

In order to follow up the code quality of our robot framework scripts, we are interested to have a SonarQube module.

Thank you in advance.

KR,

Aurélien

@bhirsz
Copy link
Member

bhirsz commented Jan 21, 2023

Hi, thank you for the suggestion! I have never used Sonar Qube directly but I wanted to integrate Robocop with Sonar Qube. Some time ago I have added Sarif support to the Robocop reports. Would it be possible to import issues from the Robocop to the Sonar Qube using Sarif reports? https://docs.sonarqube.org/latest/analyzing-source-code/importing-external-issues/importing-issues-from-sarif-reports/

@mnojek mnojek added the enhancement New feature or request label Feb 24, 2023
@mnojek mnojek added this to the 3.1.0 milestone Apr 1, 2023
@mnojek mnojek modified the milestones: 3.1.0, 3.2.0 Apr 18, 2023
@mnojek mnojek modified the milestones: 3.2.0, 3.3.0 Jun 15, 2023
@mnojek
Copy link
Member

mnojek commented Jun 21, 2023

I revisited this issue and I think that thanks to SARIF support in Robocop, it is possible to import the issues to SonarQube. Of course, they do not list the tool on the official list here, but as you @bhirsz mentioned, SARIF format is enough to integrate Robocop with SonarQube. I haven't tried it myself, though.

What I did is, I wrote an email to SonarSource to ask them if they can add our tool to the official list. Let's see what they respond. I will keep this issue updated.

@AurelienSoulet Did you have a chance to integrate Robocop with SonarQube, according to what @bhirsz wrote in the previous message?

@mnojek mnojek removed this from the 4.0.0 milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants