Mvn release plugin in Teamcity 8.05

Has anybody got this working?

Teamcity seems unable to get my gpg key from my settings.xml.

I have tried:


No matter what I do I end up with:

 Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.1:sign (sign-artifacts) on project driver-binary-downloader-maven-plugin: Cannot obtain passphrase in batch mode


I't exceptionally frustrating because the setings.xml is being read initially (it's using it for the VCS credentials), Teamcity is just not passing it into the gpg signing phase.

This was working fine in Teamcity 7 and i've compared all my settings and they seem the same, I;m currently at a loss.

Please sign in to leave a comment.