Artifactory

JFrog Artifactory is a universal artifact repository manager. You can use Artifactory with artifacts stored in folders or with Maven or Nuget as an artifact source.

To use Artifactory as an artifact source, select Artifactory in Source Config Type and then configure the type-specific fields. For information about creating components, see Creating Components.

Use the Copy to CodeStation option as follows:

Note: If you are using Apache Maven without Artifactory as your source configuration type, see Maven.

Artifactory - Folder Based Fields Table

Prerequisite:

To use this option, you must do the following:

  1. On the Artifactory server, navigate to Admin > General Configuration > Folder Download Settings.
  2. Select Enable Folder Download.

Following are the fields for Artifactory with artifacts stored in folders as an artifact source.

Field Description

Server URL

The base URL for the Artifactory server, such as http://serverName:8081/artifactory

Username

Username for authentication to the Artifactory server

Password

Password for authentication to the Artifactory server

Repository

Name of the repository

Module

Module path to the artifacts in the specified repository

Latest Artifact Count

The maximum number of latest artifact versions to be imported

Version Name Pattern

If specified, only versions with names matching this regular expression will be imported.

Preserve Execute Permissions

If this is selected, file execute permissions are saved with the files.

Artifactory - Maven / NuGet Fields Table

Following are the fields for Artifactory with Maven or Nuget as an artifact source.

Field Description

Server URL

The base URL for the Artifactory server, such as http://serverName:8081/artifactory

Username

Username for authentication to the Artifactory server

Password

Password for authentication to the Artifactory server

Repository

Name of Maven or NuGet repository

Package Type

Select the type of package to be used as the repository, Maven or NuGet.

Group ID

For Maven only, this is the group ID of the artifact, such as com.mycompany or com/mycompany. For NuGet, leave this field blank.

Tip: Group ID is the <groupid> parameter in the Maven dependency within the Artifactory artifact.

Artifact ID or nuget.id

Enter the name of the artifact to be imported. For Maven it should be the artifact ID, such as mypackage-test. For NuGet it should be the value of the artifact nuget.id property, such as EntityFramework.
Tip: Artifact ID is the <artifactid> parameter in the Maven dependency within the Artifactory artifact.

File Name Pattern

If specified, only files with names matching this regular expression will be imported.

Latest Artifact Count

The maximum number of latest artifact versions to be imported

Version Name Pattern

If specified, only versions with names matching this regular expression will be imported. For a snapshot repository, specify the snapshot version, such as 1.0-SNAPSHOT.

Preserve Execute Permissions

If this is selected, file execute permissions are saved with the files.