tasks:

You must declare and configure the tasks that run the zBuilder actions. This element is a top-level element within the build configuration that holds task, stage, and language definitions that can be referenced within multiple lifecycle.

For more information about task definitions, see task:.
For more information about language definitions, see language:.
For more information about stage definitions, see stage:.

Syntax

Source: dbb-build.yaml

---
# global defined and configured tasks
tasks: list<map> # A list of task, stage, or language definitions that may be referenced by multiple lifecycles.
  - task: HelloWorld
    variables:
      -  message: Hello World!
  - language: MyLang
    ...
  - stage: MyStage
    tasks:
      - HelloWorld
      - MyLang