docs/versioned_docs/version-1.0-beta/adopting/triggers/teamcity.mdx
TeamCity provides a Dagger Recipe that runs dagger check in any build configuration, so the same checks you run locally run on every build — while keeping all of your existing TeamCity infrastructure. The recipe is taken from the JetBrains Marketplace.
:::tip
For checks with no build configuration at all, enable Cloud Checks with dagger ws autocheck on. The recipe below is the hybrid-mode alternative for when you want to drive Dagger from your existing TeamCity setup.
:::
When running a CI pipeline with Dagger using TeamCity, the general workflow looks like this:
dagger check against the modules installed in your workspace and sends telemetry to Dagger Cloud if the DAGGER_CLOUD_TOKEN environment variable is set.Running the examples shown below requires:
.dagger/config.toml) — see Workspace Setup.The following code sample demonstrates how to integrate Dagger with TeamCity to run dagger check. The code is written using the TeamCity Kotlin DSL.
TeamCity is a popular CI/CD tool developed by JetBrains.