X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fbranch.sh;fp=resources%2Flibraries%2Fbash%2Ffunction%2Fbranch.sh;h=ba9cc39c677170fb857905214fe882b1c9ba6b0a;hp=96609c82273a6f7189edda522ac65d2ae447d348;hb=a5b3a8b91d8e6c9baa4361d70b96769a98bfc454;hpb=4e2347f3996290fbc2386938791c2f272d052c63 diff --git a/resources/libraries/bash/function/branch.sh b/resources/libraries/bash/function/branch.sh index 96609c8227..ba9cc39c67 100644 --- a/resources/libraries/bash/function/branch.sh +++ b/resources/libraries/bash/function/branch.sh @@ -1,4 +1,4 @@ -# Copyright (c) 2020 Cisco and/or its affiliates. +# Copyright (c) 2021 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -57,6 +57,10 @@ function checkout_csit_for_vpp () { set -exuo pipefail case "${1}" in + "stable/2009") + # LTS branch + branch_id="origin/${1/stable\//oper-rls}_lts" + ;; "stable/"*) branch_id="origin/${1/stable\//oper-rls}" ;;