---
title: Continuous integration
description: "Continuous Integration (CI) is the process of automating the build and testing of code every time a team member commits changes to version control. ([source](https://docs.microsoft.com/en-us/devops/develop/what-is-continuous-integration?WT.mc_id=DOP-MVP-5003976)) Should your project/team use CI? Yes, yes, yes. This is one of the key feature…"
url: "https://ariste.info/dynamics365almguide/continuous-integration/"
updated: "2024-08-25"
category: Legacy Guide / Azure Pipelines
---

# Continuous integration

Continuous Integration (CI) is the process of automating the build and testing of code every time a team member commits changes to version control. ([source](https://docs.microsoft.com/en-us/devops/develop/what-is-continuous-integration?WT.mc_id=DOP-MVP-5003976))

Should your project/team use CI? Yes, yes, yes. This is one of the key feature of using an automated build process.

This is how a build definition for CI that will only compile our codebase looks like:

![Definicion build continua](http://ariste.info/wp-content/uploads/2019/02/2019-02-20-15_06_43-AXZ-Dev-Continuous-Build-Azure-DevOps-Services.png)

Only the prepare and build steps. Then we need to go to the “Triggers” tab and enable the CI option:

![DevOps continuous integration](http://ariste.info/wp-content/uploads/2019/02/2019-02-20-15_07_54-AXZ-Dev-Continuous-Build-Azure-DevOps-Services.png)

Right after each developer check-in, a build will be queued, and the code compiled. In case there’s a compilation error we’ll be notified about it. Of course, we all build the solutions before checking them in and don’t need this CI build. Right?

![tysonjaja](http://ariste.info/wp-content/uploads/2019/02/tysonjaja.gif)

And because we all know that “Slow and steady wins the race”, but at some point during a project that’s not possible, so this kind of build definition can help us out. Especially when merging code between branches. This will allow us to be 100% sure when creating a DP to release to production that it’ll work. I can tell you that having to do a release to prod in a hurry and seeing the Main build failing is not nice.

#### Subscribe!

Receive an email when a new post is published
