2017-03-24 14 views
0

한 번 다음 오류 가져 오기 빌드 정의에서 빌드가 트리거됩니다.코드 범위 명령 줄 도구, SonarQube와 함께 MSBuild를 찾을 수 없습니다.

3:46:16 AM Failed to locate the code coverage command line tool Post-processing failed. Exit code: 1 
Exception Message: TF270015: 'MSBuild.SonarQube.Runner.exe' returned an unexpected exit code. Expected '0'; actual '1'. See the build logs for more details. (type UnexpectedExitCodeException) 
Exception Stack Trace: 
    at System.Activities.Statements.Throw.Execute(CodeActivityContext context) 
    at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) 
    at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) 

빌드 서버에 SonarQube 5.3을 사용하고 있습니다. .NET 프레임 워크가 비주얼 스튜디오가 아닌 서버를 빌드 할 때 설치되었습니다.

BuildDefinition 여기서 SonarQube를 참조합니다.

여기 도와주세요 !!!!

답변

0

코드 적용 도구는 .Net Framework가 아닌 Visual Studio와 함께 설치되므로 코드 범위를 원할 경우 빌드 에이전트에 VS를 설치해야합니다. 사용중인 Visual Studio의 버전에 따라 빌드 에이전트에 대한 추가 라이선스가 필요하지 않을 수 있습니다. 자세한 내용은 Is a separate Visual Studio license required for a build machine? 토론을 참조하십시오.