Use ansicolorwrapper for packer build

Change-Id: I1317c5d7b27a2ccd8fe080737fc6e30b68919d83
diff --git a/Jenkinsfile b/Jenkinsfile
old mode 100755
new mode 100644
index 1c5e4af..a26d60e
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -60,7 +60,11 @@
                     if (PACKER_DEBUG == 'true') {
                         PACKER_ARGS = "${PACKER_ARGS} -debug"
                     }
-                    sh "packer build -only=${BUILD_ONLY} ${PACKER_ARGS} -parallel=false template.json"
+
+                    wrap([$class: 'AnsiColorBuildWrapper']) {
+                        sh "packer build -only=${BUILD_ONLY} ${PACKER_ARGS} -parallel=false template.json"
+                    }
+
                     def packerStatus = sh(script: "grep \"Some builds didn't complete successfully and had errors\" ${PACKER_LOG_PATH}", returnStatus: true)
                     // grep returns 0 if find something
                     if (packerStatus != 0) {
@@ -170,4 +174,4 @@
     return remoteImagesSameType.toSorted().findAll { it ->
         it =~ /^${osImageForRegex}-/
     }
-}
\ No newline at end of file
+}