Pipeline: Multibranch

ID: workflow-multibranch

Jenkins Plugin Changelog Jenkins Plugin Installs

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.

ArchivesGet past versions
Version: 2.22
Released:
Requires Jenkins 2.176.4
Installs: 243,810
Maintainers
dnusbaum
Help us improve this page!
To propose a change submit a pull request to the plugin page on GitHub.