![]() ![]() The job requires multiple multiple repositories There are several options to configure triggers including quartz/cron like trigger. The job requires multiple triggersĪssuming you TeamCity project produces multiple artifacts and or does that recurring like daily/nightly or weekly you may need separate triggers. Since agent pools can only be scoped to build configurations each part of the chain must use its own one of these. We deploy to our different AWS accounts by means of an agent pool in each of them, so a typical case is that a job uses one pool for executing tests, another for deploying to dev and yet another for deploying to prod. We identified three cases where multiple build configurations are essential: The job requires multiple agent pools ![]() Use cases for multiple build configurations Steps always execute on the same build agent.Each step is implicitly triggered by the previous one.Steps always execute in the order that they are declared.Every step uses the same VCS configurations (ie the ones in the containing build configuration).Squads maintain a library of build images for various toolchains, meaning they are able to update things without changing the build agents themselves which would require the involvement of the DevOps team.) (At moovel the vast majority of build steps are shell scripts executed in a docker container. May inherit from a configuration template to avoid repetition (we use these extensively).Ī build step focuses on actual build operations using one of a many of bundled runners covering a wide range of toolchains, with the most widely used one here being Command Line.Other configurations such as the number of permitted test failures and GitHub status integrations.Agent requirements specifying agent configurations eg Linux or iOS.May have zero or more triggers (eg run on VCS change, completion of another build) May have zero or more VCS configurations.Some notable properties of build configurations: Differences between build configurations & build steps Build Configuration At any rate, understanding the differences between these approaches is essential so in this post we’ll explore these in the context of our usage of TeamCity as well as provide a look into where we may go in the future. Typically a job will fall into the second category, but within this favouring one approach or the other according to taste. ![]()
0 Comments
Leave a Reply. |