How to: Get a detailed analysis log file in SPCAF Quality Gate?

This article will explain how to to get detailed analysis logs for 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.

  • System.IO.Path.Combine(BinariesDirectory, "SPCAFResults\spcaf.log").

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

  • LogFile="[System.IO.Path.Combine(BinariesDirectory, "SPCAFResults\spcaf.log")]" .

See also: How to runs SPCAF in a TFS/VSO TeamBuild?

Tags

Pre-Production | TFS | BuildActivity | Logging | Quality | Gate | BQ_U