Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Oct 04, 2020 14:35

This article explains how to deploy TeamCity as Continuous Integration in your environment and observe the test runs from the CI Dashboard in the Test Analysis view. This procedure uses a Hyper-V virtual machine. The code is uploaded to GitLab. If you have already deployed TeamCity, you can skip the first steps.

Step-by-step instructions

  1. Download and install TeamCity.
  2. Download and install JDK 1.8.
  3. Restart the TeamCity VM.
  4. Access the console (the URL depends on your settings).
  5. Create a new project.

     Click to view Create Project form
     Click to view Create Project From URL form
  6. Set up your project.

     Click to view image

    Note: If prompted for Maven settings, install the Maven support plugin.

  7. Click Build Step.

     Click to view image
  8. Provide the information as shown in the following image: 

     Click to view image

    For your convenience, these are the additional Maven command line parameters to enter:

    -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%”
  9. Run the Build and check the CI Dashboard in your Perfecto cloud. Following is a sample URL where <your-cloud> is the name of your tenant: https://<your-cloud>