Jenkins trigger build on tag creation
We want Jenkins to trigger builds from github any time a new tag is created.
In the Jenkins job we need to know.
- the tag name
- the branch name
However, getting that to work is very fiddly.
Make sure you have the following values in Source Code Management - git - repositories
- branch specifier:
- additional behaviors:
wipe out repository and force clone
Under build triggers check
Build when a change is pushed to GitHub