Jenkins logs and the log server isn't able to parse the color codes and
it causes unnecessary text to appear in the log. Let's disable color in
Jenkins so that the logs are a little easier to read.
Change-Id: I4dba009e34e405a3fd37444aec4b3c681a5e2cc8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
cd packer
export PACKER_LOG="yes" && \
export PACKER_LOG_PATH="packer-build.log" && \
- packer.io build -var-file=$CLOUDENV \
+ packer.io build -color=false -var-file=$CLOUDENV \
-var-file=../packer/vars/{platform}.json \
../packer/templates/{template}.json