Change-Id: Id409ecaabe9320ac20424dae0559515a7bbe8ef7
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
################################################################################
-#set -x
+set +x
echo "## ${MACHINE} ##"
cd $REPODIR
MYJOB=`cat .myjob | grep "submitted as job" | sed -e "s#submitted as job id: ##g"`
echo "#### JOBID: $MYJOB #####"
+set -x
( lava-tool job-status https://agl-jenkins-user@lava.automotivelinux.org $MYJOB | tee .status ) || true
STATUS=`grep "Job Status:" .status | sed -e "s#Job Status: ##g"`