Cloud customer?
 Upgrade in MyJFrog >

Search





The Artifactory Integration connects your JFrog Pipeline Automation platform to an installation of Artifactory to push artifacts including Docker images, and maintain build information.

Creating an Integration

Add this integration by following steps on the Managing Pipelines Integrations page.

Here is the information you need to create this integration:

  • Name -- Choose a friendly name for the integration
  • Artifactory URL -- The Artifactory URL is automatically added for the user adding the integration. If required, you can manually enter the HTTP Endpoint (URL) for your JFrog Artifactory.
  • User -- The Artifactory username is automatically added for the user adding the integration. If required, you can manually enter the username for your JFrog Artifactory.
  • API key -- Your Artifactory API Key.
    Click Get API Key to automatically fetch API key for the user adding the integration. If the API key does not exist, a new one is generated. If required, you can manually enter the API key for your JFrog Artifactory.
Page Contents

Usage

An Artifactory integration is mandatory in the integrations section of the following native steps:

An Artifactory integration must/may be used in the following resources:

Default Environment Variables

When you add this integration directly to a step, a set of environment variables is automatically made available.

Environment variable

Description

int_<integration_name>_urlURL of Artifactory
int_<integration_name>_userUsername supplied in the integration
int_<integration_name>_apikeyAccess token supplied in the integration


When you create an Aql, BuildInfo, or FileSpec resource with this integration, a set of environment variables is automatically made available in steps using that resource.

Environment variable

Description

res_<resource_name>_sourceArtifactory_urlURL of Artifactory
res_<resource_name>_sourceArtifactory_userUsername supplied in the integration
res_<resource_name>_sourceArtifactory_apikeyAccess token supplied in the integration


When you create an Image resource with this integration, a set of environment variables is automatically made available in steps using that resource.

Environment variable

Description

res_<resource_name>_registry_urlURL of Artifactory
res_<resource_name>_registry_userUsername supplied in the integration
res_<resource_name>_registry_apikeyAccess token supplied in the integration


When you create a RemoteFile resource with this integration, a set of environment variables is automatically made available in steps using that resource.

Environment variable

Description

res_<resource_name>_source_urlURL of Artifactory
res_<resource_name>_source_userUsername supplied in the integration
res_<resource_name>_source_apikeyAccess token supplied in the integration
Copyright © 2021 JFrog Ltd.