Stage

A Stage is used for the creation of named collections of declared and configured tasks to be reused by one or more build lifecycles. This is useful for grouping a set of language task configurations that can be referenced by all build lifecycles.

The following example shows a stage declaration that can be reused in multiple lifecycles:

 # global task configurations that can be referenced in multiple build lifecycles
 tasks:
   # create a stage to contain a list of reusable basic or language tasks
   - stage: Languages
     tasks:
       - BMS            # Defined in BMS.yaml
       - Cobol          # Defined in Cobol.yaml
       - LinkEdit       # Defined in LinkEdit.yaml


 # build lifecycles executable from the DBB CLI
 lifecycles:
   # build all programs for the application
   - lifecycle: full
    
     # define the list of tasks to execute during the build lifecycle
     tasks:
       - Start
       - ScannerInit
       - MetadataInit
       - FullAnalysis
       - Languages  
       - Finish

Additional topics

For more information about language tasks see: