On the Administration > Projects page, select the desired project in the list. (Alternatively, open the project using the Projects popup, and click the Edit Project Settings link on the right). The Project Settings page opens.
On the Project Settings page, Build Configurations section, click Create build configuration from URL.
Specify a VCS repository URL and, if authentication is required, VCS credentials. click Create.
TeamCity will suggest the build configuration name and will configure the rest of settings for you.
- it will determine the type of the VCS repository and create a VCS root.
- TeamCity will attempt to auto-detect build steps: Ant, NAnt, Gradle, Maven, MSBuild, Visual Studio solution files, PowerShell, Xcode project files, Rake, and IntelliJ IDEA projects. If none found, you will have to configure build steps manually.
- Next, TeamCity UI will display suggestion icons with prompts to create build triggers, failure conditions and build features. Depending on the build configuration settings, it may suggest some additional configuration options.
After the build configuration is created, you can run a build and/or tweak the settings.