branch

const val branch: String(source)

The commit branch name.

Available in branch pipelines, including pipelines for the default branch. Not available in merge request pipelines or tag pipelines.