get_resource_name

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Description

Retrieves the name of the first resource found of the type specified in inputResources or outputResources. Available to extension steps to get the name of the first input or output resource of a particular type.

Usage

get_resource_name --type <resource type> --operation <IN | OUT> --syntax-version <semver>

  • resource type is the name of a Pipelines Resource type

  • IN | OUT selects whether the resource is named in inputResources or outputResources

  • semver is the semantic version number of the resource's syntax version