'Jenkins: The config profile (user_profile) could not be found Error: Cannot perform an interactive login from a non TTY device

I'm getting the error when executing the build with Jenkins:
The config profile (user_profile) could not be found
Error: Cannot perform an interactive login from a non TTY device

console jenkins

But from the command line it works, does anyone have any idea what it could be? Any credentials, access level or something like that?

command line



Solution 1:[1]

configure aws profile in jenkins user and after that verify permission to /var/lib/jenkins/credentials file. it should be accessible by jenkins user.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1