This guide will show you how to integrate Kiuwan inspections in your software development cycle using Team Foundation Server.
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.
Download the sample application as described in the requirements.
In Solution Explorer, right-click on the SimpleCalculator solution. Then go to Add Solution to Source Control.
A new dialog appears: Choose Source Control backend. Select Team Foundation Version Control.
Finally, select a TeamProject where to place this project and create the solution folder.
Once the solution is created in TFS, define a new build process for the solution.
Open the Team Explorer tab.
Double click on Builds and select New build definition.
Below, the images of the dialog boxes to configure the build definition:
Commit the changes to the repository. A new build will be automatically triggered.
Login to kiuwan.com to see the results for your application analysis.
For each commit in the repository, a new build and analysis will be run automatically:
Each analysis will generate a new version in Kiuwan. You can see all the builds in the Analysis drop-down list:
Click Compare to see a defect comparison between both analyses.
Now you have a continuous analysis of all your builds in Kiuwan.