Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each automation pipeline can have optional variables defined. A pipeline variable can be declared at the very beginning of a pipeline in the vars: section and then used inside the automation pipeline using the Pipeline Expression Language (PEL) and the vars scope. Here is an example:

Code Block
languageyaml
vars:
  firstName: "Petra"
pipeline:
  - body.set: "My first name is: ${vars.firstName}"

...