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
(parent:
17e0045
)
CIMANAGE-12: csit-vpp-verify-master-semiweekly job uses wrong CSIT branch
92/1892/1
author
Jan Gelety
<jgelety@cisco.com>
Thu, 7 Jul 2016 12:06:48 +0000
(14:06 +0200)
committer
Jan Gelety
<jgelety@cisco.com>
Thu, 7 Jul 2016 12:06:48 +0000
(14:06 +0200)
- use proper regex in grep command to choose correct csit branch
Change-Id: I683e31e19d2eec556180c810cc1509abe6bfe4f4
Signed-off-by: Jan Gelety <jgelety@cisco.com>
jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
patch
|
blob
|
history
diff --git
a/jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
b/jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
index
cd17854
..
c0c19b3
100644
(file)
--- a/
jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
+++ b/
jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
@@
-19,7
+19,7
@@
fi
cd csit
# get the latest verified version of the required branch
-BRANCH_NAME=$(echo $(git branch -r | grep
${BRANCH_ID}
| tail -n 1))
+BRANCH_NAME=$(echo $(git branch -r | grep
-E "${BRANCH_ID}-[0-9]+"
| tail -n 1))
if [ "${BRANCH_NAME}" == "" ]; then
echo "No verified version found for requested branch - exiting"