Resources are one of the key building blocks of all pipelines. They are information entities that are used for storing and exchanging information across steps and pipelines.
Resources are versioned and each version is immutable. They are also global and depending on the scope defined for the pipeline source, they can be available across pipelines, which enable you to connect multiple pipelines together to create a pipeline of pipelines.
Resources are pointers and they can be used to reference:
A repository in your source code control system, such as GitHub
A file on a remote file server
A Docker image
A release bundle for JFrog Distribution
A cluster for container orchestration
Using resources in your pipeline involves two main steps:
In the pipeline's YAML, in the
resources
section, define all the resources required for running the pipeline.After a resource is defined, it is available for use in the pipeline, based on the scope defined for the pipeline source.
In the
steps
section, as per your workflow, add these resources as input and/or output.
Resource Types
Note
Artifactory Integration will be deprecated soon!
Artifactory Integration will be deprecated as announced in Artifactory version 7.47.10, hence we recommend migrating from Artifactory Integration to JFrog Platform Access Token Integration. Refer to Artifactory Integration.
If any of the following resources require strict use of Artifactory integration, you can use either Artifactory integration or JFrog Platform Access Token integration.