Installing Artifactory
Continuous Integration results in frequent builds and packages. Hence, there is a need for a mechanism to store all this binary code (builds, packages, third-party plugins, and so on) in a system akin to a version control system.
Since, version control systems such as Git, TFS, and SVN store code and not binary files, we need a binary repository tool. A binary repository tool such as Artifactory or Nexus that is tightly integrated with Jenkins provides the following advantages:
- Tracking builds (Who triggers a build? What version of code in the VCS was build?)
- Dependencies
- Deployment history
The following image depicts how a binary repository tool such as Artifactory works with Jenkins to store build artifacts. In the coming sections, we will see how to achieve this by creating a Jenkins job to upload code to Artifactory.
In this book, we will use Artifactory to store our builds. Artifactory is a tool used to version control binaries. The binaries can be anything from built...