This project contains a Jenkinsfile showing off a simple workflow which runs builds differently based on branch names.
- builds for branches matching
ready/*
will be:- merged into
master
- built
- published as the new
master
- deleted
- merged into
- builds for branches matching
master
orhotfix/
will be:- built
- deployed
- builds for branches not matching any of the above will be:
- merged into
master
- built
- merged into