Ensure that the terminal type is set
The terminal type is set to 'unknown' by default and is set when a user logs in to a terminal. The 'unknown' terminal type causes the 'clear' command in the upgrade job to fail. We set the terminal type for the gate-check-commit script as it is not using a tty. Change-Id: Id460184dbfec1bc56bc05baa67924b5f724b5111
This commit is contained in:
parent
b13cea3e80
commit
722b5ff344
@ -30,6 +30,9 @@ export PYTHONUNBUFFERED=1
|
||||
# Extra options to pass to the AIO bootstrap process
|
||||
export BOOTSTRAP_OPTS=${BOOTSTRAP_OPTS:-''}
|
||||
|
||||
# Ensure the terminal type is set
|
||||
export TERM=linux
|
||||
|
||||
# This variable is being added to ensure the gate job executes an exit
|
||||
# function at the end of the run.
|
||||
export OSA_GATE_JOB=true
|
||||
|
Loading…
Reference in New Issue
Block a user