Creating a project from url in TeamCity

You can create a project from source code repository url (like git repository). Below image will show how I created gradle project from url.

First of all, you need to provide the url of git repository.

Creating gradle project from URL

Creating gradle project from URL

Then you need to provide project name and build configuration name.

New build project name TeamCity

New build project name TeamCity

TeamCity detects the build steps by looking at the source code. As shown in below image, TeamCity has detected 3 build steps – command line, Gradle and IntelliJ IDEA project. Out of those, I selected Gradle step.

Auto detected build steps

Auto detected build steps in TeamCity

Next you can run the build by clicking on run button.

Run the build in TeamCity

Run the build in TeamCity

Below image shows how the TeamCity build looks like when it is running.

Gradle build running in TeamCity

Gradle build running in TeamCity


You may also like...