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 123 forks source link

Pass applications current branch name as CLI parameter #516

Closed dennis-behm closed 6 days ago

dennis-behm commented 1 week ago

This is resolving intermitted issues on pipeline builds where the cloned repository in the build workspace is in a detached head situation. See issue #143 - zAppBuild is not able to safely detect the current branch name in these situations.

The PR allows users to optionally pass the branch name via a CLI parameter, that should make use of the available variables of the CI orchestration tool.