Skip to main content

Recipes

Recipes are reusable build steps for TeamCity. Our recipes are distributed via the JetBrains Marketplace and can be added to a build configuration like any other build step — they are configured solely through the input fields of the step.

Using a Recipe​

Requirements:

  • TeamCity 2025.03 or later
TeamCity versionProcedure
2025.07 or laterThe recipe is used directly from the JetBrains Marketplace. Select it by its ID when adding a build step, for example jjideenschmiede/git-commit-hash.
2025.03 up to 2025.07Upload the YAML file of the recipe, which contains the complete recipe, to TeamCity. You find the file in the respective GitHub repository.

Recipes that determine a value provide it as an environment variable. In subsequent build steps, the value is available as a parameter, for example %env.GIT_COMMIT_SHORT_HASH%.

tip

Store credentials such as tokens as parameters of the type Password in TeamCity and reference this parameter in the input field of the recipe, for example %youtrack.token%. This way the token appears neither in the configuration nor in the build log.