Task: FullAnalysis
Description
This task creates a full or "build all" list of programs to build for the application.
Task dependency list
List of tasks that must execute before this task.
- ScannerInit
- MetadataInit
Actions
- Searches the application source directories for source files to scan and build.
NOTE: Application source directories are defined by the Start TasksourceDirs
YAML variable. - Updates source file collections in the Metadata Store.
Syntax
- task: FullAnalysis
comment: String # Message printed to stdout when the task begins executing.
condition: Boolean # Boolean expression to optionally execute task. Default is true.
variables:
- name: excludeFileList # List of glob file patterns of files to exclude from the source list.
value: [String] # Default is [".*","**/.*","**.yaml","**.groovy","**.json","**.md"].
Task variables
Required variables
Must be defined for the task to execute.
None
Optional variables
Only need to be defined to change default values.
excludeFileList
Type: [String]
Default: [".*","**/.*","**.yaml","**.groovy","**.json","**.md"]
List of glob file patterns of files to exclude from the source list.
NOTE: This variable replaces the entire default exclude file list.
printScannedItems
Type: Boolean
Default: false
A basic variable that, when true, prints out the source files as they are being scanned.
Build Context (advanced)
In addition to the task variables provided by users in the DBB YAML configuration files, some tasks require inputs and generate outputs to the zBuilder Build Context. The Build Context is a dynamic storage area passed into each task being executed by the zBuilder and is used for task-to-task communication.
Build Context inputs
Keyword | Type | Source | Description |
---|---|---|---|
SOURCE_DIRS |
List<String> | Start | List of z/OS UNIX source directories used when creating source list. |
BUILD_GROUP |
BuildGroup | MetadataInit | Used to store source file metadata in collections. |
WORKSPACE |
String | zBuilder | Used to relativize file paths. |
APP_DIR_NAME |
String | zBuilder | Used to relativize file paths. |
Build Context outputs
keyword | Type | Description |
---|---|---|
SOURCE_LIST |
Set<String> | List of source files to scan and build from files passed in on the command line. |