From: Aric Gardner Date: Fri, 26 Jun 2020 17:20:23 +0000 (-0400) Subject: Need an exception for onap X-Git-Tag: v0.55.1~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=9047db7d4c426865d55683e4beced7d69e1f8770;hp=dcf5761d0c38f01d4397784870c9031d4d499441;p=releng%2Fglobal-jjb.git Need an exception for onap We imported their docs for the migration to not lose old versions. this imported project does not follow the naming convention and so I have added a hardcoded exception Signed-off-by: Aric Gardner Change-Id: I8ac74bec953cf39b28cf8776c50fcb0e78869073 --- diff --git a/shell/rtdv3.sh b/shell/rtdv3.sh index f5be6e6b..314ce9ff 100644 --- a/shell/rtdv3.sh +++ b/shell/rtdv3.sh @@ -41,6 +41,12 @@ fi #MASTER_RTD_PROJECT as a global jenkins cnt masterproject="$umbrella-$MASTER_RTD_PROJECT" +#Exception needed for onap, due to importing their old docs. +if [[ $masterproject == "onap-doc" ]]; then + masterproject="onap" +fi + + echo "INFO:" echo "INFO: Project: $PROJECT" echo "INFO: Read the Docs Sub Project: https://$rtdproject.readthedocs.io"