SPEC-2703: do not fail with set -xe 89/22389/4
authorCorentin LABBE <clabbe@baylibre.com>
Wed, 11 Sep 2019 18:49:34 +0000 (20:49 +0200)
committerCorentin LABBE <clabbe@baylibre.com>
Fri, 13 Sep 2019 07:14:40 +0000 (09:14 +0200)
commit29d66a104a35cbf35fcb39503bed0d46380a4a86
treec70c7369567f6b33c01c7a530f6ed189a4aad075
parent1d779c8531f5e6ba562d76a2347dde464334c2d0
SPEC-2703: do not fail with set -xe

This patch move the grepping test inside the if for not failling due to
set -xe
For the same reason, harden the code checking if git clone was
successfull.

Change-Id: Idb0619c4e90c9a3a0654a024fbd2166e49df98c6
Bug-AGL: SPEC-2703
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
jjb/common/include-agl-lava-jobs-submit.sh