Reference parameters
Learn how to reference pipeline and output parameters.
Read time 1 minuteLast updated 6 hours ago
Unity Pipeline Automation has a syntax template to reference various types of parameters used within a pipeline. These parameters are accessible to your custom code either through command line arguments or directly through the script input.
Parameter Name | Syntax | Syntax Example | Supported Type | Description |
|---|---|---|---|---|
| Pipeline parameters | | | Boolean, Float, Integer, Script (string), Text (string), Url (string), UUID (string) | Reference pipeline parameters in scripts. |
| | Boolean, Float, Integer, Script (string), Text (string), Url (string), UUID (string) | Reference all pipeline parameters and their metadata. If there are no pipeline parameters, this evaluates to null. | |
| Step input parameters | N/A | N/A | N/A | A pipeline cannot reference step input parameters. |
| Step output parameters | | | Boolean, Float, Integer, String | Reference output parameters from previously executed steps. |
| Secrets parameter | | | String | Reference pipeline secrets, which are sensitive information such as an API token. This evaluates to the string value of the secret stored in Unity’s Secret Manager service. |