Artifactory supports build integration whether you are running builds on one of the common CI servers in use today, on cloud-based CI servers or standalone without a CI server.
Integration of Artifactory into your build ecosystem provides important information that supports fully reproducible builds through visibility of artifacts deployed, dependencies and information on the build environment.
The Artifactory Build Integration Add-on provides a set of plugins you can use with industry standard CI systems and build tools that enable you to:
Running Builds on a CI Server
Artifactory can easily be added to a continuous integration build ecosystem by treating the CI server as a regular build client, so that it resolves dependencies from Artifactory, and deploys artifacts into a dedicated repository within Artifactory.
The build tools supported on all of these CI servers are: Maven 3 and 2, Gradle, Ivy/Ant, .Net, MSBuild as well as Generic build tools. For details please refer to the documentation for each CI server plugin.
Running Standalone Builds or on a Cloud-based CI Server
In the last few years, the popularity of cloud-based CI servers has grown. Some examples are, Travis CI, drone.io and Codeship. The problem is that none of these are "pluggable" in the traditional way. Therefore, to support builds running on cloud-based build servers, as well as standalone builds, Artifactory provides plugins for industry standard build tools such as Maven, Gradle, Ivy/Ant and MSBuild. These plugins provide all the benefits of Artifactory that facilitate fully reproducible builds without the need for a CI server. For more details please refer to Working with Maven, Working with Gradle, Working with Ivy and MSBuild Artifactory Plugin.
Builds and Build History
All CI server projects that deploy their output to Artifactory can be viewed in the Build Browser which is accessed in the Artifacts tab under Browse | Build.
Selecting a project displays all runs of that build reflecting the build history in the CI server.
Selecting a build item from the list displays complete build-level information. You can also view the build in the CI server by selecting Show in CI Server.
Drilling-down into a specific build displays detailed information about the build, and enables you to compare it with another build as described in the following sections.
There are three categories of information:
General Build Information
This tab displays general information about the build:
In addition, from the General Build Info tab you can save the build and its dependencies as a Smart Search result for later use such as promoting it through your development cycle and more.
For more details please refer to Exporting and Manipulating Build Items.
This tab displays the modules published into Artifactory as a result of the build, along with the number of artifacts and dependencies that they contain.
Module Artifacts and Dependencies
Selecting a published module that was build will display its published artifacts and dependencies grouped according to scope:
You can also hover over any item to download it directly or view it in the Tree Browser.
The Environment tab displays an extensive list of properties and environment settings defined for the selected build. You can use these to reproduce the environment precisely if you need to rerun the build.
The Issues provides integration between Artiafctory, Jenkins CI server and JIRA issue tracker. When using Jenkins CI, if you to set the Enable JIRA Integration option in the Jenkins Artifactory Plugin, the Issues tab will display any JIRA issues that have been addressed by this build.
The Licenses tab displays the results of a detailed license analysis of all artifacts and their dependencies.
The Summary line displays the number of artifacts found with the following statuses:
The Governance tab displays the results of running the selected build through Black Duck Code Center license analysis.
In addition to viewing the licensing status of components in the build, you can see a list of security vulnerabilities that were detected.
The report displays one of the following statuses for components:
The Diff tab allows you to compare the selected build with any other build. Once you select a build number in the Select A Build To Compare Against field, Artifactory displays all the differences between the builds that were detected including new artifacts added, dependencies deleted, properties changed and more.
The Release History tab displays a list of the selected build's release landmarks.
Build Info JSON