Guide
Integration
Run SPCAF via PowerShell
To Run SPCAF in PowerShell either edit and use the supplied example script or create your own to suit your needs.
Run SPCAF from Command Line
Note: The use of SPCAF from command line requires a Build License.
how to run spcaf in a yaml build
SharePoint code analysis can also be executed through a YAML build. In order to run SPCAF, you must first upload it to your build environment. First, you will need to download SPCAF from our downloads page.
Azure DevOps/ VSTS/TFS
SPDocKIt
Sonarqube
Bamboo
DocAve
Gulp
Visual Studio
Jenkins
how to run spcaf in team city
This functionality is only available in SPCAF Quality Gate.
how to get a detailed analysis log file in spcaf quality gate
To get a log file with more information about the analysis process, you have to set the parameter "LogFile" of the TFS build activity.
how to run spcaf with msbuild
MSBuild integration in a TeamBuild (e.g. on Team Foundation Server) is only available in SPCAF Build. The client licenses can use MSBuild or the local build in Visual Studio.