diff options
author | qun wan <qun.wan@intel.com> | 2017-06-22 22:32:24 -0400 |
---|---|---|
committer | qun wan <qun.wan@intel.com> | 2017-06-26 23:35:02 -0400 |
commit | 49b3c4b1d62eb9a4ee2c9fd7aee845c5a5fcdab3 (patch) | |
tree | b31e60ac56ab247349debe787895929686c9f7ab /jjb/tldk | |
parent | 7320e227f3bf8b31aff3d648ee396f2e749ce370 (diff) |
patch for the tldk.yaml
Change-Id: Ia143d86b5159f11e26193542e8dd0449c4f741e2
Signed-off-by: qun wan <qun.wan@intel.com>
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: |