I get the following error while running gitflow command, e.g. gitflow:release-start
with ssh-agent defined as follows in Jenkinsfile
node {
sshagent (credentials: ['deploy-dev']) {
sh 'mvn gitflow:release-start'
}
}
[ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.18.0:release-start (default-cli) on project testing:
[ERROR] *** Please tell me who you are.
[ERROR]
[ERROR] Run
[ERROR]
[ERROR] git config --global user.email "you@example.com"
[ERROR] git config --global user.name "Your Name"
[ERROR]
[ERROR] to set your account's default identity.
[ERROR] Omit --global to set the identity only in this repository.
[ERROR]
[ERROR] fatal: empty ident name (for <****@<hashcode>f.(none)>) not allowed
[ERROR] -> [Help 1]
Unfortunately setting user email and name can not be considered as solution in my case.