SUPPORT

24/5 Hotline Support Service

+44 (0)20 3588 3841

Open a Support Ticket

support@netsparker.com

Integrating Netsparker Enterprise with the TeamCity Plugin

TeamCity is a build management and CI server that allows users to run automated tests on the server after committing code but before going into production. Teamcity functionality can be extended using our new Netsparker Enterprise Scan TeamCity plugin.

This topic explains how to use the new Netsparker Enterprise TeamCity plugin to integrate Netsparker Enterprise with TeamCity to enable our advanced integration functionality.

For further information, see What Systems Does Netsparker Integrate With?.

Downloading and Installing the TeamCity Plugin

The Netsparker Enterprise Scan TeamCity plugin is packaged into a jar file called netsparkercloud-teamcity-plugin.zip.

How to Download and Install the TeamCity Plugin
  1. Log in to Netsparker Enterprise.
  2. From the main menu, select Integrations, then New Integration.

  1. From the Continuous Integration Systems section, click Integrate TeamCity. The TeamCity Integration window is displayed.

  1. Click Download the plugin, and save the file to a location of your choice. (Alternatively, you can download it from Netsparker Cloud Scan.)
  2. Open TeamCity.

  1. From the top menu, click Administration. The Global Settings window is displayed.
  2. From the Plugins List menu, click Upload plugin zip. The Upload add-on dialog is displayed.

  1. Click Choose File.
  2. Select the netsparkercloud-teamcity-plugin.zip file you downloaded in a previous step, and click Open to upload it. The Upload Plugin Zip dialog is displayed.
  3. Click Upload.
  4. Finally, enable the uploaded plugin.

Configuring the TeamCity Project

Each TeamCity project has its own configurations. Each configuration has its own build steps. To use the Netsparker Enterprise Scan task, it must be added as a build step.

How to Configure the TeamCity Project
  1. Open TeamCity. In the Administration window, from the main menu select Netsparker Cloud. The Global Netsparker Enterprise API Settings window is displayed.

  1. In the API Settings section, enter the API credentials: Netsparker Cloud Server URL and API Token.
  2. Click Test Connection.
  3. Click Save.
  4. From the main menu, click Projects. The Projects window is displayed.
  5. Click to select the project to which you want to add the Netsparker Enterprise Scan plugin. The project window is displayed.

  1. Click Edit Project. The General Settings window is displayed.

  1. ClickCreate build configuration. The Create Build Configuration window is displayed.

  1. Complete the Name, Build Configuration ID and other fields.
  2. Click Create. The New VCS Root window is displayed.

  1. Complete the setup for the VCS Root, or skip and complete it later.

  1. Click Build Steps and Add build step. The New Build Step window is displayed.

  1. From the Runner type dropdown, select Netsparker Cloud Scan.
  1. From the Netsparker Cloud Scan build step, select the relevant scan settings.

  1. Click Save.

Viewing Netsparker Scan Results in TeamCity

Once you have downloaded and installed the plugin, configured the project and run a scan, you can view scans in both TeamCity and Netsparker Enterprise.

For further information, see Scan Results Report.

How to View Netsparker Scan Results in TeamCity

In TeamCity, navigate to a finished build and click more  then Netsparker Cloud Report.

Netsparker

Dead accurate, fast & easy-to-use Web Application Security Scanner

GET A DEMO