From 49b3c4b1d62eb9a4ee2c9fd7aee845c5a5fcdab3 Mon Sep 17 00:00:00 2001 From: qun wan Date: Thu, 22 Jun 2017 22:32:24 -0400 Subject: patch for the tldk.yaml Change-Id: Ia143d86b5159f11e26193542e8dd0449c4f741e2 Signed-off-by: qun wan --- jjb/tldk/include-raw-csit-tldk-functional-virl.sh | 11 ++++++++++- jjb/tldk/tldk.yaml | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/jjb/tldk/include-raw-csit-tldk-functional-virl.sh b/jjb/tldk/include-raw-csit-tldk-functional-virl.sh index 1f57e8255..0192a125b 100644 --- a/jjb/tldk/include-raw-csit-tldk-functional-virl.sh +++ b/jjb/tldk/include-raw-csit-tldk-functional-virl.sh @@ -1,13 +1,22 @@ #!/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 diff --git a/jjb/tldk/tldk.yaml b/jjb/tldk/tldk.yaml index 3f86e96a2..766e0a724 100644 --- a/jjb/tldk/tldk.yaml +++ b/jjb/tldk/tldk.yaml @@ -199,9 +199,10 @@ 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: -- cgit 1.2.3-korg