IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
40 stars 140 forks source link

Preview build option #347

Closed dennis-behm closed 1 year ago

dennis-behm commented 1 year ago

This PR is proposing a new supplemental build option --preview.

The purpose of the enhancement is to run any build scenario (full builds, incremental builds) along with the --preview option to understand what the build will do without actually building anything.

It runs through all the phases of the build. For instance in an impactBuild scenario, it identifies the changed files, calculates the impacts, produces a build list and passes it also to the build script. However, none of the Execute commands (compile, link-edit) are processed, nor are the files being uploaded to the target libraries. The implementation leverages the DBB configuration property dbb.command.reportOnly, which is part of the DBB product.

The PR includes: