Artifact Tags

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

name

An alphanumeric string (underscores are permitted) that identifies the resource.

type

Must be Artifact for this resource type.

configuration

Specifies all configuration selections for the resource.

Tag

Description

Required/Optional

jfrogPlatformProvider

The name of the JFrog Platform Access Token integration.

Required

repositories

Used to specify the Artifactory repositories on which the event is applied.

Note

If this tag is not specified, all tags are matched by default.

Required

branches

For use in multibranch pipelines, though it will also work with single branch pipelines. An object where include and exclude regex patterns are used to control which branches are triggered by the resource.

  • Required: When an include pattern is supplied, any branch not matching the pattern will not trigger.

  • Optional: If an exclude pattern is supplied, any branch matching the pattern will not trigger.

Supported regex

The branches tag supports the following regex:

^ $ . * & ? @ = ; : +

Examples:

^gitBranch$ (to trigger for that branch)

example.*

example+.&

example+:&@=.*$

^._example+:&.@=+;?.*$

example+.:&@=*;?1661337986460$

branches.include is required

branches.exclude is optional

buildOn

Used to control whether the resource will be updated on specified events. These are set to false by default.

  • Deployed: Trigger when an artifact is deployed to a repository.

  • Deleted: Trigger when an artifact is deleted from a repository.

  • Moved: Trigger when an artifact is moved from a repository. This will apply on the repositories from which the artifact is moved.

  • Copied: Trigger when an artifact is copied from a repository. This will apply on the repositories from which the artifact is copied.

  • Cached: Trigger when an artifact is cached.

Required

artifactPath

  • include -- (optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: "org/apache/**"

  • exclude -- (optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: "org/apache/**"

Optional