Docker Plugin giving an error

When building an image that uses the docker plugin I’m seeing this error in my event logs and don’t understand how to resolve it.

docker (docker-push): Error: Cannot perform an interactive login from a non TTY device

Where can I start troubleshooting this?

You can start troubleshooting this by telling us what you’re trying to do.

What’s your setup?
What does your build file looks like?
What does your script look like?
When are you getting this error?