summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2016-07-07 14:06:48 +0200
committerJan Gelety <jgelety@cisco.com>2016-07-07 14:06:48 +0200
commitb5bed95fd0ee4dab1d5c0c587af0ba42b0abc8ab (patch)
tree24f80713eaff7bf33c8a1f621bd3a67cfe32958e /jjb
parent17e0045042493bb4fe4adcc1513ee825e3eafec1 (diff)
CIMANAGE-12: csit-vpp-verify-master-semiweekly job uses wrong CSIT branch
- use proper regex in grep command to choose correct csit branch Change-Id: I683e31e19d2eec556180c810cc1509abe6bfe4f4 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh b/jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
index cd178545f..c0c19b323 100644
--- 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"