YAML examples for Set variables
Set variables with different options
yaml
- action: "Set Variables"
type: "SET_VARIABLES"
comment: "comment"
variables:
- key: "var1"
type: "VAR"
- key: "var2"
type: "VAR"
defaults: "option1\noption2"
- key: "var3"
type: "VAR"
init_path: "/fileWithOptions"
- key: "var4"
type: "VAR"
Set variables with permissions
yaml
- action: "Set Variables"
type: "SET_VARIABLES"
comment: "comment"
variables:
- key: "var1"
type: "VAR"
permissions:
others: "DENIED"
users:
alex: "DENIED"
mike: "ALLOWED"
groups:
frontend: "DENIED"
backend: "ALLOWED"