I have a weird issue. When I use mvn clean install, TeamCity can access our own installation of BitBucket.
The build step for maven has as goal: clean install
For a release job the maven goal has: jgitflow: clean jgitflow:release-start jgitflow:release-finish
For the last one I am always getting a Auth Fail for the ssh connection.
When I login to the terminal and do in the temp folder: mvn clean jgitflow:release-start jgitflow:release-finish
it works flawlesdly.
Where do I do wrong? What do I have to configure? On the terminal M2_HOME points to /opt/maven which is Maven 3.3.9