项目作者: lg2de

项目描述 :
SonarQube integration for Team Foundation Version Control
高级语言: C#
项目地址: git://github.com/lg2de/sonar-scm-tfvc.git
创建时间: 2014-07-07T10:47:57Z
项目社区:https://github.com/lg2de/sonar-scm-tfvc

开源协议:Other

下载


Build status
Sonarcloud Status

SonarQube SCM TFVC plugin

Description

Implements SCM dependent features of SonarQube for Microsoft Azure DevOps Server/Services‘s own Version Control (all versions).
It requires analysis to be executed from Windows machines.

Usage

Auto-detection of the SCM provider will work if there is a “$tf” folder in the project root directory.
Otherwise, you can force it by setting the “sonar.scm.provider” property to “tfvc”.

For interacting with Azure DevOps Server or Services, users need to enter the collection URI corresponding to the TFVC collection of the project.
This property can be set and edited either through sonar-runner properties or the SonarQube Server.

The authentication is performed either using username and password,
or with a Personal Access Token (PAT).

These properties are available:

Key Description Required Default value
sonar.tfvc.collectionuri URI corresponding to the TFVC collection of the project Mandatory for working with Azure DevOps Server or Services. None
sonar.tfvc.username Username to be used for TFVC authentication. Optional for Windows authentication or if already cached. None
sonar.tfvc.password.secured Password to be used for TFVC authentication. Optional for Windows authentication or if already cached. None
sonar.tfvc.pat.secured Personal Access Token (PAT) to be used for TFVC authentication. Optional for Windows authentication. None

Due to changes in SonarQube starting version 9.1, secured parameters cannot be transferred from the server to the plugin.
Therefore, the parameters sonar.tfvc.pat.secured (or sonar.tfvc.password.secured)
must be specified as commandline parameter when running the analyzer.