Configuring Artifactory

JFrog Artifactory Documentation

ft:sourceType
Paligo

Overview

You can access the General Configuration settings of JFrog Artifactory in the Administration module under Artifactory | General | Settings.

Saving changes

Any changes you make must be saved in order for them to take effect.

General Configuration

The fields under General Settings allow you to set up various global parameters in Artifactory.

artifactory_general_settings.jpg

The General Settings fields are as follows:

Field

Description

File Upload Max Size

Maximum size allowed for files uploaded via the web interface.

Global Offline Mode

When selected, Artifactory will behave as if it is not connected to an external network (such as the internet), and therefore, will not query remote repositories (regardless of the offline status of any specific remote repository).

Archive Search Enabled

When a new archive file is deployed to Artifactory, its content is indexed in a way that lets the user search within an archive.

When selected, the files located within archive files are indexed to allow their content to be searchable through the “Archive Search” feature (formerly known as the “Class Search”).

It is recommended to disable this feature, if you do not use this feature as it consumes a large amount of storage.

Note

From Artifactory 7.28.11, archive indexing for Cloud instances has been disabled in the system.yaml.

Global Replication Blocking

Configuring Global Replication Blocking allows you to enable or disable replication globally as needed.

global_replication_blocking.png

Field

Description

Block Replications

When set, push and pull replication will be blocked according to the check boxes below, regardless of the configuration for specific repositories.

Block Push Replications

When set, push replication will be blocked regardless of the configuration for specific repositories.

Block Pull Replications

When set, pull replication will be blocked regardless of the configuration for specific repositories.

Folder Download Settings

folder_download_settings.png

Field

Description

Enable Folder Download

Must be set to enable folder download

Enable Folder Download For Anonymous Access

Must be set to enable folder download for anonymous users (also enabled for PDN download)

Max Size

The maximum size (in MB) of a folder that may be downloaded.

Max Number of Files

The maximum number artifacts that may be downloaded under one folder.

Max Parallel Folder Downloads

The maximum number of folder download requests that may be run concurrently.

Release Bundle Settings

In the Administration module | Artifactory | General | Settings in the Release Bundle Settings tab., you can set the number of hours to wait before a release bundle is declared "incomplete" and eligible for cleanup from the temporary folder. A value of 0 means automatic cleanup is disabled. note that only release bundles that we partially distributed are eligible for cleanup.

release bundle settings.png

Field

Description

Incomplete Release Bundle Cleanup Period (Hr)

The number of hours to wait before a partially distributed release bundle is set as "incomplete" and eligible for cleanup from the temporary folder.

Setting the value to "0" indicates that automatic cleanup is disabled.

Trash Can Settings

trash can settings.png

Field

Description

Enable Trash Can

If set, the trash can will be enabled and deleted items will be stored in the trash can for the specified retention period.

Retention Period

The number of days to keep deleted items in the trash can before deleting permanently.

Empty Trash Can

Click to delete all items currently in the trash can permanently.

Restoring Deleted Repositories

From Artifactory release 7.41.4, two changes have been implemented in Trash Can permissions:

  • Users who havedeploy or managepermissions to any repository will be able to view the Trash Can and to view files in thatrepository of origin.

  • Users who also havedeletepermissions to their repository will now also be able to access deleted files from that repository and to restore themwithout requiring admin assistance (they will not be able to view or restore any other repositories)

The contents of the Trash Can are filtered based on the repositories to which the user has permissions. This means that the user will not see or restore any other repositories unless they have permissions to that repository.Introduction to Permissions