When Jenkins triggers maven-gpg-plugin
in a remote Linux shell it fails with gpg: signing failed: Inappropriate ioctl for device
. This used to work until recently. I don't know what changed.
I found a lot of online references suggesting export GPG_TTY=$(tty)
but this doesn't work for ssh connections as tty
is null
. Any ideas?