Disable python buffering for gate checks

In order to ensure that the ansible output in the jenkins console
log is output as it comes it is necessary to turn off the python
output buffering.

Change-Id: I0f8f11cd04fdfd6c26d5a5afc0e8647648edb1bb
This commit is contained in:
Jesse Pretorius 2015-08-29 18:30:31 +01:00
parent a40cb58118
commit 614b37621b

View File

@ -68,6 +68,9 @@ fi
# Enable debug logging for all services to make failure debugging easier
echo "debug: True" | tee -a /etc/openstack_deploy/user_variables.yml
# Disable the python output buffering so that jenkins gets the output properly
export PYTHONUNBUFFERED=1
# Run the ansible playbooks if required
if [ "${RUN_PLAYBOOKS}" == "yes" ]; then
# Set-up our tiny awk script.