Description
Allows you to add environment variables that will be available in the following steps of the run.
If the following variables are set, they will be used:
JFROG_CLI_BUILD_NAME
: If set, the pipeline uses this value instead of the default pipeline name for the build info collected.JFROG_CLI_BUILD_NUMBER
: If set, the pipeline uses this value instead of the default run number for the build info collected.USE_LOCAL_JFROG_CLI
: If set astrue
, the local JFrog CLI on the host or in the image (depending onruntime
configuration) is used instead of the version packaged with JFrog Pipelines. This is not recommended and native steps may not be able to run with the local JFrog CLI version.
Usage
add_run_variables <key value pair>...
key value pair
is a single string with a key and a value, separated by an “=”. Multiple of these strings can be supplied as input. Each value will be exported as an environment variable at the time this command is used and automatically in any later steps within the run.