Resources play different roles based on where and how they are used:
Triggering Resource: Whenever there is a change in this type of resource, it triggers the dependent step. Examples: CronTrigger, GitRepo, IncomingWebhook.
Generated Resource : These are resources that are generated by a step and they can trigger successive downstream steps. Examples: Aql, BuildInfo, FileSpec, Image.
Webhook Resource: IncomingWebhook and OutgoingWebhook are resources that can be used to integrate a pipeline with third-party services.
Pipelines supports several types of resources, with each resource capable of serving a specific activity:
Type | Description |
---|---|
An Aql resource specifies an Artifactory query using Artifactory Query Language. | |
A BuildInfo resource is the metadata associated with a build in Artifactory. | |
A comprehensive CodeAnalysis resource capable of generating Sonar scan reports and capturing point-in-time metrics. It is used with Sonar Integration. | |
A CronTrigger is used as an input resource as a step to trigger execution of the step at a scheduled time. | |
A DistributionRule resource is the set of Destination rules that can be applied to distributing a release bundle using JFrog Distribution. | |
A FileSpec resource specifies a File Spec, which provides the details of files to upload or download from Artifactory. | |
A GitRepo is used to connect JFrog Pipelines to a source control repository. It creates a webhook to the repo so that future commits will automatically create a new version with the webhook payload. | |
The HelmChart resource maps to a specific chart in an Artifactory Helm Repository. | |
An Image resource is used to add a reference to a Docker image to your pipeline. | |
An IncomingWebhook resource can trigger one or more jobs in your pipeline whenever the associated URL is called using the HTTP POST method. | |
An OutgoingWebhook resource uses HTTP to send information from a step to an external API endpoint through an Outgoing Webhook Integration. | |
A PropertyBag resource is used to pass information from one pipeline to another and provide environment variables to a step in the format of a resource. | |
A ReleaseBundle resource specifies a set of artifacts in Artifactory that are distributed to Artifactory Edge nodes as a JFrog Distribution Release Bundle. | |
A RemoteFile resource enables using a file on a remote file server. | |
A VmCluster is used to represent a set of virtual machines. It is mainly used to deploy services/apps to the specified clusters and in some cases, it can be used to run certain maintenance activities on the clusters as a whole. |