Guide

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.

You can provide the path to a log file with this parameter. e.g.

<em>System.IO.Path.Combine(BinariesDirectory, "SPCAFResults\spcaf.log").</em>

In the XAML code of the build definition, this would look like:

<em>LogFile="[System.IO.Path.Combine(BinariesDirectory, "SPCAFResults\spcaf.log")]" .</em>

See also

How to runs SPCAF in a TFS/VSO TeamBuild?

Last updated: 10/30/2023