get_resource_names

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Description

Retrieves an array of names of the type specified in inputResources or outputResources. Available to extension steps to get the names of input or output resource of a particular type.

Usage

get_resource_names --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

  • In PowerShell, a native PowerShell array is returned. In Bash, a JSON array is returned that can be handled with jq.