

In many setups, an external artifact repository such as Nexus or NuGet is utilized as well. The artifacts must be easily available for anyone to download, and generally it is the CI server that provides the artifacts. The automated builds should result in well-tested artifacts/binaries/executables, depending on the type of the project. All the tests must be cleared for the build to be certified as a fully integrated build. This includes running unit tests, code coverage, functional tests, and code inspection among others.

The builds include the process of testing the checked-in code. Every commit has to go through this process of automated builds. CI servers run automated builds whenever there are changes in the version-control repository. This is where CI servers such as TeamCity come into the picture. Everything-source code, tests, database migrations scripts, build and release scripts, and so on-that is needed to get the application running is checked in to this common repository.Īutomated builds run off the checked-in code. This happens regularly, at least once a day. Developers check in code to a common version-control repository.
