Resources Section

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Resources provide the information that steps need in order to execute or store information generated by a step. For example, a resource might point to a source code repository, a Docker image, or a Helm chart. A list of all supported resources is available in Resources overview.

The basic format of each resources declaration is:

Tag

Description

name

A globally unique friendly name for the resource.

type

A predefined string that specifies the type of resource.

For more information, see Resource Types.

configuration

Begins the section of settings required by the resource type. This typically includes the name of the integration that connects the resource to the external service.

Note

Resource definitions are global and can be used by all pipelines in a Project that is in at least one of the same environments. This means that resource names must be unique across all pipeline config files in a Project.

For example, here is a resources section that defines two resources, a GitRepo and a Docker Image:

resources:
  - name: my_Git_Repository
    type: GitRepo
    configuration:
      gitProvider: my_GitHub_Integration
      path: ~johndoe/demo
      branches:
        include: master

  - name: my_Docker_Image
    type: Image
    configuration:
      registry: my_Docker_Registry_Integration
      imageName: johndoe/demo_image
      imageTag: latest