rheema
rheema

Reputation: 41

sonarqube github project analysis

I have a repository in my github account and i want to analyse it with sonarqube after each commit I put the repository url in my sonar scanner properties : sonar.sources=https://github.com/rahma/JavaTest but does not work . any idea about this please ?

Upvotes: 1

Views: 410

Answers (1)

VonC
VonC

Reputation: 1324977

Depending on the nature (confidential or public) of your project, you could use a GitHub Actions like SonarSource/sonarcloud-github-action

That way, on each push, you would scan your code with SonarCloud.io.

But if you have a local SonarQube instance running, then you need the Developer edition, and check if your GitHub credentials are correct.

Upvotes: 2

Related Questions