TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Creating and Editing Projects

Last modified: 20 April 2023

To create a new Project: On the Administration | Projects page select one of the options:

Create Project from URL



The option is available since TeamCity 8.1.

  1. Click the Create subproject from URL button.

  2. On the Create New Project from URL page, specify the project settings:

    Setting

    Description

    Parent Project

    Select the parent project form the drop-down.

    Repository URL

    A VCS repository URL. TeamCity recognizes URLs for Subversion, Git and Mercurial. TFS and Perforce are partially supported.

    Username

    Provide username if access to repository requires authentication

    Password

    Provide username if access to repository requires authentication

  3. Click Proceed

TeamCity will configure the rest of settings for you.

  • it will determine the type of the VCS repository, auto-configure VCS repository settings, and suggest the project and Build Configuration names:

  • the project, build configuration and VCS root will be created automatically

  • 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 Configuring Build Steps.

  • Next, TeamCity will suggest build triggers, failure conditions and build features. Depending on the build configuration settings, it can suggest some additional configuration options.

Create Project



  1. Click the Create subproject button.

  2. On the Create New Project page, specify the project settings:

    Setting

    Description

    Parent Project

    Select the parent project form the drop-down.

    Name

    The project name.

    Project ID

    the Identifier of the project

    Description

    Optional description for the project.

  3. Click Create. An empty project is created.

    tip

    To configure an existing project, select the desired project in the list, and click the Edit Project Settings link on the right.

  4. Creating and Editing Build Configurations (select build settings, Configuring VCS Settings, and choose Build Runner) for the project.

  5. Assigning Build Configurations to Specific Build Agents.