Welcome to the IBM Dependency Based Build (DBB) community repository. The helpful and handy location for finding and sharing example DBB scripts and snippets.
- IBM Dependency Based Build Product Page
- IBM DBB Documentation
- IBM DBB zBuilder Build Framework - DBB zBuilder is an integrated configuration-based build framework for building z/OS applications. Build configuration is defined in YAML files.
- IBM DBB zAppBuild - The zAppBuild project is a community-driven build framework implemented in Groovy.
- IBM DBB Git Migration Modeler - An asset to provide a guided approach to plan and migrate source codebase, and help to identify and document the boundaries of mainframe applications.
- IBM Development and Pipeline Community
- IBM DevOps Acceleration Program Solution Page
Branches and tags are used in this repository to help clarify the appropriate DBB version for the example scripts and snippets.
This repository has different branches, currently:
- main - The branch where current development occurs, and the DBB repository is for the most recent DBB major version. This branch may not be appropriate for older versions of DBB.
The individual specific versions are tagged, such as v2.0.0 and v1.1.14 tags and can be found as Github releases
For instructions on how to contribute new samples and bug fixes, please read the Contributions Guidelines.
Sample | Description |
---|---|
Build/HelloWorld | The HelloWorld sample provides simple source file types and the Groovy build scripts to compile them |
Build/MultiThreadMVSJob | Sample showing how to modilfy a compilation script to run in a multi-thread environment. |
IDE/GitISPFClient | An ISPF interface that interacts with a Git repository to allow cloning, staging, checking in, pushing and pulling as well as other git commands. |
Migration/jcl | Sample script to migrate JCL from a Z/OS dataset to a local Groovy script. |
Migration/sclm | This sample provides scripts to migrate source members to local Git repository and convert the build information in SCLM into build Groovy scripts. |
Pipeline/AnalyzeCodeCoverageReport | Sample script to extract and print Code Coverage information as collected by IBM Debug. |
Pipeline/CreateUCDComponentVersion | Post-build script to parse the DBB Build report to generate a UCD component shiplist file and to create a new UCD component version. |
Pipeline/DeployUCDComponentVersion | Sample script to trigger a UCD deployment from the pipeline, where the pipeline orchestrator does not provide standard plugins for this task. |
Pipeline/PackageBuildOutputs | Post-build script to create a generic package with the produced build outputs, optionally uploads results to an Artifactory repository. Artifactory deploy/download sample script. |
Pipeline/PublishSharedInterfaces | Post-build script to publish shared copybooks to a shared git repository managing all shared copybooks. |
Pipeline/RunIDZCodeReview | Post-build script to integrate IBM IDz Code Review application into a pipeline. |
Pipeline/SimplePackageDeploy | Post-build script to deploy the tar package contents to the target libraries. |
Scanners | Sample dependency scanner implementations using the extension framework of the DBB toolkit. |
Schema | zBuilder schema used to configure YAML validation for build and application configurations in an IDE. |
Templates | Contains Pipeline templates for various Pipeline orchestrators such as AzureDevOps, Gitlab, Github Actions and Jenkins. |
Templates/Common-Backend-Scripts | Asset to encapsulate pipeline steps to simplify the pipeline implementation. |
Utilities/DeletePDS | Sample script to delete PDSes on z/OS that are no longer needed. |
Utilities/Jenkins | Utility shell scripts supplied to address issues when running Jenkins remote agents on z/OS UNIX System Services (USS). |
Utilities/ReadSMFRecords | Groovy scripts to read System Management Facilities (SMF) records using IBM's Dependency Based Build capabilities. |
Utilities/Validation | Groovy scripts that can aid in the validation of product installs. |
Utilities/PermissionCheck | Groovy script to check the DBB role for a provided user. |
zBuilder extensions | IBM zBuilder extensions showcasing advanced scenarios. |
zBuilder/MortgageApplication | Mortgage Application sample application prepared to be built with IBM DBB zBuilder. |