Skip to content

IBM/dbb

Repository files navigation

DBB Community Repository

Welcome to the IBM Dependency Based Build (DBB) community repository. The helpful and handy location for finding and sharing example DBB scripts and snippets.

Resources

Versions

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. Users of DBB 1.x may need to look to the dbb_1_x branch.
  • dbb_1_x - For users of the DBB 1.x version, this is the appropriate matching branch for the repository.

The individual specific versions are tagged, such as v2.0.0 and v1.1.14 tags.

Contributing

For instructions on how to contribute new samples and bug fixes, please read the Contributions Guidelines.

Content

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.
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.