# Pipeline: Multibranch
[](https://plugins.jenkins.io/workflow-multibranch)
[](https://github.com/jenkinsci/workflow-multibranch-plugin/blob/master/CHANGELOG.md)
[](https://plugins.jenkins.io/workflow-multibranch)
## Introduction
Enhances Pipeline plugin to handle branches better by automatically
grouping builds from different branches.
Automatically creates a new Jenkins job whenever a new branch is pushed
to a source code repository.
Other plugins can define various branch types, e.g. a Git branch, a
Subversion branch, a GitHub Pull Request etc.
See this blog post for more
info:<https://jenkins.io/blog/2015/12/03/pipeline-as-code-with-multibranch-workflows-in-jenkins/>
## Notes
To determine the branch being built - use the environment variable
`BRANCH_NAME` - e.g. `${env.BRANCH_NAME}`
## Version History
See [the changelog](CHANGELOG.md).
登录后查看神龙缓存的 POC 文件快照
登录查看