We are using the standard git flow branching model (develop, master, release-, hotfix-, etc).
As part of our workflow, we would like to set up a "one-click" release via jenkins.
I was looking at the jgitflow-maven-plugin. Can I set up this plugin to do a one-click release from jenkins? If so, what are the configuration options?
In particular, can I do something like this?
Maven goals: release-start release-finish -Dsomething -Delse
We never found a way to get this to work via a plugin or maven goal in Jenkins.
Our solution ended up with a
bash script that did
git flow release start <version>, maven release process,
git flow release finish <version> and other things (git pull on
master at very start, git
push and slack notification at very end).