JFrog Plugin for Jenkins Configuration

JFrog Integrations Documentation

Content Type
Integrations
ft:sourceType
Paligo

To configure your JFrog Platform instance settings, go to the Jenkins System Configuration Page (Manage Jenkins > Configure System).

Click on the Add JFrog Platform Instance button to create a new JFrog instance configuration. If you'd like to set separate base URLs for Artifactory or Distribution, click on the Advanced button, and set the URLs.

config-jfrog-platform.png

Field

Description

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 JFrog Platform instance ID. This ID can be used by your pipeline jobs to reference the configured instance.

JFrog Platform URL

The JFrog Platform URL.

Advanced fields

JFrog Artifactory URL

The JFrog Artifactory URL. Its value is usually <JFrog Platform URL>/artifactory, but you can use this field to set a different URL for it.

JFrog Distribution URL

The Distribution URL. Its value is usually <JFrog Platform URL>/distribution, but you can use this field to set a different URL for it.

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 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).