Disable color for packer build 48/53048/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 9 Mar 2017 05:13:25 +0000 (00:13 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 9 Mar 2017 05:13:30 +0000 (00:13 -0500)
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>
jjb/releng-macros.yaml

index f565c115fa2bc7f5c50652fbca1e54a1bc9c1f14..aad3a3aba8138050e02a0a33a62255dba1c27992 100644 (file)
           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