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

Plugin not working when used with SonarCloud #67

Closed
shiraz opened this issue Feb 20, 2018 · 4 comments
Closed

Plugin not working when used with SonarCloud #67

shiraz opened this issue Feb 20, 2018 · 4 comments
Labels

Comments

@shiraz
Copy link

shiraz commented Feb 20, 2018

Hello,

So I wanted to use the plugin with SonarCloud, so I added the following in the pom.xml file of my Java project.

<dependency> <groupId>com.racodond.sonarqube.plugin.gherkin</groupId> <artifactId>sonar-gherkin-plugin</artifactId> <version>1.7</version> </dependency>

<sonar.sources>pom.xml,src/main/java,src/test/resources/features</sonar.sources> (properties section).

I ran the command, "mvn clean install sonar:sonar". The command ran successfully, but the Gherkin plugin did not run or find any issues.

Is there anything that I'm missing?

@nixel2007
Copy link

Plugin must be installed on sonarcloud server, you can't (AFAIK) just add a dependency to get results on server.

@shiraz
Copy link
Author

shiraz commented Feb 20, 2018

@nixel2007

How can we install the plugin in the sonarcloud server?

@nixel2007
Copy link

You must be a sonarcloud admin :)

You can install your own sonarqube instance with plugins you need

@racodond
Copy link
Owner

Hi @mirzasb,

Only SonarSource plugins are available on Sonarcloud. Thus, unfortunately, it is not possible to analyze Gherkin code on Sonarcloud.

David

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

No branches or pull requests

3 participants