Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to archive a build configuration in Teamcity?

Tags:

teamcity

Is there a way to archive or temporarily hide a build configuration in Teamcity? The documentation only mentions pausing here: https://confluence.jetbrains.com/display/TCD8/Build+Configuration

like image 953
Gyuri Avatar asked Apr 29 '15 18:04

Gyuri


People also ask

How do I create a build configuration in TeamCity?

To create a build configuration, open General Settings of a project and click Create build configuration under the Build Configurations section. TeamCity provides several ways to create a new build configuration for a project: Create a build configuration template, and then create a build configuration based on the template.

How do I set up a VCS repository in TeamCity?

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.

How do I create a new build configuration template?

Creating a new build configuration template is similar to creating a new configuration: On the Administration | Projects page, select the target project in the list. Alternatively, open the project using the Projects pop-up menu and click Edit Project Settings. The Project Settings page opens.

How do I use autodetect build steps in TeamCity?

TeamCity will add a VCS build trigger and attempt to autodetect build steps: Ant, NAnt, Gradle, Maven, MSBuild, Visual Studio solution files, PowerShell, Xcode project files, Rake, and IntelliJ IDEA projects. On the Auto-detected Build Steps page, select the step (s) to use in your build configuration.


2 Answers

You can archive a project, but build configurations can only be paused. However, you might be able to achieve something almost as good:

  1. Create a project called 'Archive'.
  2. Archive the project (Actions -> Archive project...)
  3. Move the build configuration to the 'Archive' project (Actions -> Move configuration...)

The build configuration will be removed from the original project, but still retrievable should you want to use it again later.

like image 82
John Hoerr Avatar answered Oct 26 '22 22:10

John Hoerr


Go to the 'Administration' panel, select the project you want to archive and click the 'Actions' menu:

enter image description here

There is no way to archive a build configuration, so you can create a separate project for that purpose (e.g., 'Archive' or 'Attic') and put such configurations there.

like image 25
Yury Bayda Avatar answered Oct 26 '22 20:10

Yury Bayda