diff options
author | 2016-07-07 14:06:48 +0200 | |
---|---|---|
committer | 2016-07-07 14:06:48 +0200 | |
commit | b5bed95fd0ee4dab1d5c0c587af0ba42b0abc8ab (patch) | |
tree | 24f80713eaff7bf33c8a1f621bd3a67cfe32958e /jjb/csit | |
parent | 17e0045042493bb4fe4adcc1513ee825e3eafec1 (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/csit')
-rw-r--r-- | jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh | 2 |
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" |