Cloud customer?
Start for Free >
Upgrade in MyJFrog >
What's New in Cloud >

Search





Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Revert prior to Pipelines 1.6 release

Overview

To install the Jenkins Artifactory Plugin, go to Manage Jenkins > Manage Plugins, click on the Available tab and search for Artifactory. Select the Artifactory plugin and click Download Now and Install After Restart.

Panel
titlePage Contents

Table of Contents
maxLevel4
minLevel2


Artifactory Plugin Configuration

To configure your Artifactory server settings, go to the Jenkins System Configuration Page (Manage Jenkins > Configure System).

Click the Add Artifactory Server button to create a new Artifactory server configuration.

Use the Credentials Plugin

Enable this checkbox to use the Jenkins Credentials Plugin to configure your Artifactory Servers credentials in your Jenkins job configuration pages. Using the Jenkins Credentials Plugin, you have the option of setting an Access Token or Username and Password / API Key to authenticate with Artifactory. Read more about this here.

Server ID
Configure the Artifactory server (or servers) that will be used for artifacts resolution and build info deployment.
URL
The Artifactory URL.
Connection Timeout

The network timeout in seconds, used for establishing a connection and for unanswered requests. 

Number of retries

The network connection retries number.

Number of threads for Generic uploads

The number of concurrent threads used for Generic uploads.

Bypass HTTP proxy
Enable to bypass the global Jenkins proxy configuration when connecting to this server. 
The "Test Connection button" will work with the new setting once the page is saved.
Username/Password
(Optional) Username and password that will be used for this Artifactory instance. You can also override these credentials from within the Jenkins Job. Note: the credentials are only required if Artifactory is configured not to allow anonymous access.
Use Different Resolver Credentials
(Optional) Enable this checkbox to set different credentials for the resolver.
Warning

The Deployer user specified above must have Deploy permission in Artifactory. Log into Artifactory with Administrator privilege, go Security | Permissions in the Admin tab.  Grant Deploy permission to the Deployer user (or perhaps better, a group to which the user belongs).

Authenticating with Artifactory using Access Tokens or Basic Auth

Using the Jenkins Credentials Window, you have the option of setting an Access Tokens or Username and Password / API Key to authenticate with Artifactory.

For Access Token authentication, choose Secret text in the credentials Kind field.

For Username and Password / API Key authentication, choose Username and password in the credentials Kind field.

Configuring HTTP and HTTPS proxy

Define HTTP or HTTPS proxy according to the following

Newtablink
TextJenkins Documentation
URLhttps://wiki.jenkins.io/display/JENKINS/JenkinsBehindProxy
.

Note

To bypass the HTTP proxy, enable the "Bypass HTTP proxy" checkbox described above.

JFrog Pipelines Configuration

The JFrog Pipelines server section must be configured to enable Jenkins to interoperate with JFrog Pipelines.

This configuration requires that you establish a Jenkins Server Integration in JFrog Pipelines. This will provide you with the needed entries.

Image Removed

Integration URL
The Callback URL provided by the completed Jenkins Server Integration in Pipelines.
Credentials
Add all bearer tokens provided by each Jenkins Server Integration in Pipelines.
Copyright © 2021 JFrog Ltd.