Pipeline Resource-based State

JFrog Pipelines Documentation

ft:sourceType
Paligo

Using the write_output utility function, key-values can be stored as a property in any output resource. Every step that has the resource as an input can access the key-value information in its scripts as an environment variable.

image2019-8-22_12-56-38.png

The environment variable for the value is of the form res_<resource name>_<key name>.

Resource-based state information is persistent across pipelines, so it can be used as a mechanism for passing information from one pipeline to the next.