diff options
Diffstat (limited to 'jjb/tldk')
-rw-r--r-- | jjb/tldk/include-raw-csit-tldk-functional-virl.sh | 11 | ||||
-rw-r--r-- | 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: |