Code Review
/
ci-management.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c377777
)
Patches for the nsh_sfc functional case scheduling for ci.
93/6993/1
author
qun wan
<qun.wan@intel.com>
Sun, 4 Jun 2017 23:13:19 +0000
(19:13 -0400)
committer
qun wan
<qun.wan@intel.com>
Sun, 4 Jun 2017 23:13:19 +0000
(19:13 -0400)
Change-Id: I5f3189cc9c74437149988196f77b39a2522491e0
Signed-off-by: qun wan <qun.wan@intel.com>
jjb/nsh_sfc/include-raw-csit-nsh_sfc-functional-virl.sh
patch
|
blob
|
history
diff --git
a/jjb/nsh_sfc/include-raw-csit-nsh_sfc-functional-virl.sh
b/jjb/nsh_sfc/include-raw-csit-nsh_sfc-functional-virl.sh
index
1e87172
..
87dd9b8
100644
(file)
--- a/
jjb/nsh_sfc/include-raw-csit-nsh_sfc-functional-virl.sh
+++ b/
jjb/nsh_sfc/include-raw-csit-nsh_sfc-functional-virl.sh
@@
-1,4
+1,16
@@
#!/bin/bash
+set -xeu -o pipefail
+
+# 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
+fi
+
+cd csit
# execute nsh_sfc bootstrap script if it exists
if [ -e bootstrap-nsh_sfc-functional-virl.sh ]