Maven Gitflow plugin
I was struggling for some time now to get this to work and I was wondering if anyone is using the gitflow plugin for maven:
So basically I'm using a maven gitflow plugin in my Jenkins instance and when I'm running it for my hotfix branch, you can add the parameter fromBranch. This can help you if you want to specify another branch from which the hotfix is created. In the documentation it says that is support Production branches and Support branches. However it seems that support branches are not working or at least it's not working for me.
Here is the code:
sh './mvnw gitflow:hotfix-start -B -DfromBranch="support/test" -s $MAVEN_SETTINGS -DmvnExecutable=$(pwd)/mvnw -Dsurefire.useSystemClassLoader=false -Dgitflow.push.remote=true -Dgitflow.maven.argline="-s $MAVEN_SETTINGS -Dgitflow.push.remote=true"'
Here is the error:
[ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.11.0:hotfix-start (default-cli) on project *******: The fromBranch is not production or support branch. -> [Help 1]
It works with -DfromBranch="master" or without the parameter at all but it seems like support branches are not accepted.
If anyone encountered the same issue, I'll appreciate any help.
Thank you.

