TeamCity
Deploying TeamCity as a continuous integration (CI) tool on a Hyper-V virtual machine in your environment enables you to observe test runs from the CI Dashboard in the Perfecto's Test Analysis view.
On this page:
Prerequisites
Make sure you have the following installed:
Step-by-step instructions
Click a step to view details
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), Perfecto Helix Core, and so on. This section uses Bitbucket as an example.
- Restart the TeamCity VM.
- Access the console. (Depending on the settings, you can have a different URL.)
-
Create a new project.
-
When prompted for Maven settings, install the Maven support plugin by selecting the checkbox for the Maven build step and clicking Use selected.
-
Select the Maven build step and click Use selected.
-
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:
Copy-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%”
-
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>.reporting.perfectomobile.com/dashboard-ci