Change-Id: Ia143d86b5159f11e26193542e8dd0449c4f741e2
Signed-off-by: qun wan <qun.wan@intel.com>
#!/bin/bash
set -xeu -o pipefail
+# Clone tldk and start tests
+git clone https://gerrit.fd.io/r/tldk
+
+# If the git clone fails, complain clearly and exit
+if [ $? != 0 ]; then
+ echo "Failed to run: git clone https://gerrit.fd.io/r/tldk"
+ exit 1
+fi
+
# Clone csit and start tests
git clone https://gerrit.fd.io/r/csit
# If the git clone fails, complain clearly and exit
if [ $? != 0 ]; then
echo "Failed to run: git clone https://gerrit.fd.io/r/csit"
-exit
+ exit 1
fi
cd csit
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-patch-submitted:
+ - gerrit-trigger-manually-triggered:
name: '{project}'
branch: '{branch}'
+ comment-trigger-value: 'verify-tldk-func'
builders:
- shell: