Skip to end of metadata
Go to start of metadata
Table of Contents

Overview

Artifactory provides tight integration with both Jenkins and Hudson using a plugin which you need to install using the corresponding Plugin Manager. The information on this page refers to Jenkins however it applies equally to Hudson. For more information, please refer to the Jenkins documentation and Hudson documentation for the corresponding plugin.

The plug-in provides:

  • Easy setup to resolve dependencies and deploy build artifacts through Artifactory.
  • Capture exhaustive build information such as artifacts deployed, dependencies resolved, system and environment information and more to enable fully traceable builds.
  • Enhanced deployment that transfers additional important build information to Artifactory.
  • UI integration providing links from a Jenkins build directly to Artifactory.
  • Release management with staging and promotion.

Before you begin

Please refer to the general information about Artifactory's Build Integration before using the Jenkins Artifactory Plugin.

Source Code Available!

The Jenkins Artifactory Plugin is an open source project on GitHub which you can freely browse and fork.

Supported Build Technologies

 The Jenkins Artifactory Plugin currently supports Maven 3, Maven2, Gradle, and Ivy/Ant, as well as generic (free style) builds that use other build tools.

Page Contents


Installing and Configuring the Plug-in

Configuring the Jenkins Artifactory Plug-in involves two steps:

  1. Setting up Jenkins to recognize your Artifactory server
  2. Pointing the Jenkins build at a target local repository in Artifactory to which it should deploy the build artifacts. Jenkins queries Artifactory's available target repositories using Artifactory's REST API and allows you to select one.

We recommend that you also configure Jenkins to use Artifactory for dependency resolution.

For more information, please refer to the instructions at the  Jenkins Plug-in Center.


Navigating Between Jenkins and Artifactory

Each build viewed in Artifactory corresponds to its Jenkins job counterpart, and contains a build history of all runs corresponding to the build history in Jenkins.

You can drill down and view details about each item in the build history, or view the build in the CI server by selecting Show in CI Server.

You can also navigate back to Artifactory from Jenkins, as shown below:

 

 

 

 

 

 

 

 

 

 

  • No labels