By using set -o, this can prevent CI from uploading *.properties
files without *.bin to artifact.opnfv.org if build was failed.
This once happened to [1].
[1] http://artifacts.opnfv.org/daisy/opnfv-2017-04-25_06-57-05.properties
Change-Id: I26c3112af1d73a84df05c3852038c99d7070ab59
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
#!/bin/bash
+set -o errexit
+set -o nounset
+set -o pipefail
+
echo "--------------------------------------------------------"
echo "This is diasy4nfv build job!"
echo "--------------------------------------------------------"