docs/current_docs/getting-started/ci-integrations/azure-pipelines.mdx
Dagger provides a programmable container engine that allows you to replace your YAML Azure Pipelines definitions with Dagger Functions written in a regular programming language. This allows you to execute your pipeline the same way locally and in CI, with the additional benefit of intelligent caching.
When running a CI pipeline with Dagger using Azure Pipelines, the general workflow looks like this:
azure-pipelines.yml file.dagger call ....DAGGER_CLOUD_TOKEN environment variable is set.The following example demonstrates how to call a Dagger Function in an Azure Pipeline.
The following is a more complex example demonstrating how to create an Azure Pipeline that checks out source code, calls a Dagger Function to test the project, and then calls another Dagger Function to build and publish a container image of the project. This example uses a simple Go application and assumes that you have already imported it into your Azure DevOps project repository.
If you have any questions about additional ways to use Azure Pipelines with Dagger, join our Discord and ask your questions in our help channel.
Azure Pipelines is the CI/CD service of Azure DevOps. It enables developers to quickly and easily build, test and deploy their applications, and works with multiple languages and platforms. It supports both self-hosted and managed agents.