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

How to use scm plugin? #50

Open
piebe opened this issue Apr 15, 2016 · 0 comments
Open

How to use scm plugin? #50

piebe opened this issue Apr 15, 2016 · 0 comments

Comments

@piebe
Copy link

piebe commented Apr 15, 2016

I like to use the SCM functionality of sonar, but this does not seem to work.

Setting scmDisabled to false results in

No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.

Setting this explicitly:

runnerProperties: {
    'sonar.scm.provider': 'git'
},
scmDisabled: false

results in:

INFO: Missing blame information for the following files:
...

Seems to me this is caused by the fact that sonar analyses takes place in the .tmp directory which, of course, does not contain any version information...

Is there a way to get this to work?

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

1 participant