Excluding files doesn't allow them to be non-committed git files

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Excluding files doesn't allow them to be non-committed git files

topagae
Running into issues with the new SCM stuff. My devs have tests that generate files that they often use for other purposes but are not committed to git. So even though I'm not scanning any of those files. Sonar is failing because there is no git blame on those files. Is there any way to skip over some files so that my devs can keep their generated debug files?
Reply | Threaded
Open this post in threaded view
|

Re: Excluding files doesn't allow them to be non-committed git files

Jean-Baptiste Lièvremont
Hi Chris,

Shouldn't those files be listed in your .gitignore, if they are not commited into git?

HTH,

Jean-Baptiste LIEVREMONT | SonarSource
Platform Developer

2015-02-26 0:13 GMT+01:00 Chris Lee <[hidden email]>:
Running into issues with the new SCM stuff. My devs have tests that generate files that they often use for other purposes but are not committed to git. So even though I'm not scanning any of those files. Sonar is failing because there is no git blame on those files. Is there any way to skip over some files so that my devs can keep their generated debug files?

Reply | Threaded
Open this post in threaded view
|

Re: Excluding files doesn't allow them to be non-committed git files

Julien HENRY
In reply to this post by topagae
Hi Chris,

Do you mean you are using sonar.exclusions=<some/files> and SQ still complain about missing blame information?

++

Julien

2015-02-26 0:13 GMT+01:00 Chris Lee <[hidden email]>:
Running into issues with the new SCM stuff. My devs have tests that generate files that they often use for other purposes but are not committed to git. So even though I'm not scanning any of those files. Sonar is failing because there is no git blame on those files. Is there any way to skip over some files so that my devs can keep their generated debug files?