SonarQube 8.2 & sonar.tfvc.collectionuri

We recently upgraded from SonarQube 8.2 and started having issues in our TFS build:
2020-03-19T10:36:55.4249290Z e[91mERROR: SCM-TFVC: Missing configuration for CollectionUri

We managed to get .net scanner working by specifying the sonar.tfvc.collectionuri through the parameters in the plugin (which wasn’t needed before, it was pulled from the environment/build variables).
However when trying to use the same approach in dotnet sonnarscanner (passing it with -d:sonar.tfvc.collectionuri=“url”) inside docker images we are getting:

2020-03-27T09:59:15.6903980Z e[91mThe format of the analysis property sonar.tfvc.collectionuri= is invalid
Tried several formats, couldn’t get it working

Versions we are using:

  • SonarQube 8.2 (build 32929)
  • sonnarscanner 4.8.0
  • TFS 15.117.27024.0
  • Docker version 19.03.8, build afacb8b
  • microsoft/dotnet:2.2-sdk-alpine

Hi @emboss64 and welcome to the community !

If i’m not mistaken, this error comes from a 3rd party plugin (

I think it’ll better to reach out to the team who maintain this repo/plugin instead and let us know.

Thank you.


For anybody else who comes across this, here is a tracked TFVC plugin issue for it:

1 Like