SonarQube 5.3 と tfvc プラグイン 2.1 および TFS 2015 Update 1 を使用しています。
Sonar.properties にあるパラメーターは次のとおりです。
sonar.scm.enabled=true
sonar.scm.provider=tfvc
sonar.tfvc.username=*xxx*
sonar.tfvc.password.secured=*yyy*
sonar.tfvc.collectionuri=*http://mytfs:8080/tfs/mycollection*
TFS vNext ビルド (XAML ビルドで動作) で組み込みの Sonar タスクを使用すると、SCM プロバイダーが動作しないようです。ログに次のエラーが表示されます。
09:04:05.653 INFO - SCM provider for this project is: tfvc
09:04:05.653 INFO - 4 files to be analyzed
09:04:05.653 DEBUG - Executing the TFVC annotate command: D:\Builds\Agent1\_work\b33ed2ba\.sonarqube\out\.sonar\.sonartmp\SonarTfsAnnotate1596861656643555411.exe
09:04:05.762 DEBUG - TFS annotating: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/CalcTest.AddNumbersTest.g.cs
09:04:05.778 INFO - Unable to TFS annotate the following file which is not in a mapped TFS workspace: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/CalcTest.AddNumbersTest.g.cs
09:04:05.778 DEBUG - TFS annotating: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/CalcTest.cs
09:04:05.793 INFO - Unable to TFS annotate the following file which is not in a mapped TFS workspace: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/CalcTest.cs
09:04:05.793 DEBUG - TFS annotating: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/Properties/AssemblyInfo.cs
09:04:05.793 INFO - Unable to TFS annotate the following file which is not in a mapped TFS workspace: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/Properties/AssemblyInfo.cs
09:04:05.793 DEBUG - TFS annotating: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/Properties/PexAssemblyInfo.cs
09:04:05.793 INFO - Unable to TFS annotate the following file which is not in a mapped TFS workspace: D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/Properties/PexAssemblyInfo.cs
09:04:05.793 INFO - 0/4 files analyzed
09:04:05.793 WARN - Missing blame information for the following files:
09:04:05.793 WARN - * D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/Properties/PexAssemblyInfo.cs
09:04:05.793 WARN - * D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/CalcTest.AddNumbersTest.g.cs
09:04:05.793 WARN - * D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/CalcTest.cs
09:04:05.793 WARN - * D:/Builds/Agent1/_work/b33ed2ba/s/WindowsFormsApplication2.Tests01/Properties/AssemblyInfo.cs
09:04:05.793 WARN - This may lead to missing/broken features in SonarQube
助言がありますか?