Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

Requirements

RequirementDescriptionImage
Visual Studio 2013 and Team Foundation Server 2013Both installed "on-premises".

Kiuwan Local Analyzer

Installed on every machine where a TFS Build Agent is installed.

Log into your Kiuwan Account via the KLA to ensure a working connection.

Your credentials will be saved in a cipher form for subsequent analysis when they are run from the command line interface as well.

Assuming kiuwan has been installed in c:\, we need to create a small script that will be invoked from the TFS build agent.

Code Block
@echo off
:: tfs2kiuwan.cmd
:: script to launch kiuwan analysis from team foundation server build.
:: -------------------------------------------------------------------
setlocal

set KIUWAN_HOME=C:\KiuwanLocalAnalyzer
set KIUWAN=%KIUWAN_HOME%\bin\agent.cmd

%KIUWAN% -c -n "%TF_BUILD_BUILDDEFINITIONNAME%" -l "%TF_BUILD_BUILDNUMBER%" -s "%TF_BUILD_SOURCESDIRECTORY%"

endlocal


Image Modified


Sample ApplicationGo to Visual Studio > Help > Samples to download the sample application for this example.
Image Modified

1. Download sample application

...