Brian Warner: Documenting my journey in QA, Automation and Tools Development.
18 March 2013
Jenkins: Error opening terminal: unknown.
I do a lot of shell scripts called from Jenkins. Most of the time, I am logged in as a specific user. In one case, I was logged in as me, to do a sudo command. I got this error in the response:
Error opening terminal: unknown.
To fix it, I found a site online:
https://bbs.archlinux.org/viewtopic.php?pid=739747
The fix for me was to edit my user's .bashrc file and add:
export TERM=xterm
No comments:
Post a Comment