Page tree

Versions Compared


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

This section guides you through deploying TeamCity as a continuous integration (CI) tool on a Hyper-V virtual machine in your environment so that you can observe the test runs from the CI Dashboard in the Test Analysis view. 

The URLs and values shown in the images that are included in these steps serve as examples only.


Make sure you have the following installed:


On this page:

Table of Contents

1 | Store source code in a source code repository

To allow the TeamCity building agent to pull the source code of the automation package, you need to store the package in a version control system such as Bitbucket, Git, CVS, Microsoft Team Foundation Server (TFS), Perforce Helix Core, and so on. This section uses Bitbucket as an example.

2 | Create a TeamCity project

  1. Restart the TeamCity VM.
  2. Access the console. (Depending on the settings, you can have a different URL.)
  3. Create a new project.

    titleClick to view image
    Image Modified

    Image Modified

3 | Add a Maven building agent to the TeamCity project

  1. When prompted for Maven settings, install the Maven support plugin by selecting the checkbox for the Maven build step and clicking Use selected.

    titleClick to view image

    Image Modified

    Image Modified

  2. Select the Maven build step and click Use selected.

  3. In the Build Step: Maven panel, provide the following information:

    • Runner type: Maven

    • Execute step: If all previous steps finished successfully
    • Goals: clean test
    • Path to POM file: pomx.xml
    • Additional Maven command line parameters:

      Code Block
      -Dmaven.test.failure.ignore=true -Dreportium-job-name=”%env.TEAMCITY_PROJECT_NAME%” -Dreportium-job-number=%env.BUILD_NUMBER% -Dreportium-job-branch=”%myBranch%” -Dreportium-tags=”%myTag%”
      titleClick to view image
      Image Modified

4 | Run the TeamCity project manually at any time

When setup is done, run the build and check the CI Dashboard in the Test Analysis view of your Perfecto cloud. Sample URL: https://<your-cloud>