ci/{build,deploy}.sh: Use /bin/sh, vt220 85/22885/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 9 Oct 2016 15:59:53 +0000 (17:59 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 9 Oct 2016 16:12:46 +0000 (18:12 +0200)
This should fix Jenkins build log warns like:
<tput: unknown terminal "unknown">, and also NOT print color chars.

Fixes: ARMBAND-136

Change-Id: If65f6bf3df5323374aefba56d0c9b7ca4f91e5ca
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Makefile
ci/build.sh
ci/deploy.sh

index 8300711..b563440 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@
 # - Fuel@OPNFV is made aware of an Armband type build by passing
 #   the "ARMBAND_BASE" env var;
 
+SHELL = /bin/sh
+
 export ARMBAND_BASE  := $(shell pwd)
 export OPNFV_GIT_SHA := $(shell git rev-parse HEAD)
 export REVSTATE
index 0b46a7d..6809589 100755 (executable)
@@ -7,6 +7,8 @@
 
 set -e
 
+export TERM="vt220"
+
 SCRIPT_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]}))
 BUILD_BASE=$(readlink -e ${SCRIPT_DIR}/../upstream/fuel/build)
 
index 179b168..dbaf203 100755 (executable)
@@ -9,6 +9,8 @@
 #
 set -e
 
+export TERM="vt220"
+
 cd $WORKSPACE
 make patches-import