X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtdv3.sh;h=23d373d174f04781436ed97ddb27f795bc3a6d91;hb=592f15be02198a46353ca155132ead5a7ce23c5e;hp=f5be6e6bebac200ec83d12ef53f866783e182052;hpb=dcf5761d0c38f01d4397784870c9031d4d499441;p=releng%2Fglobal-jjb.git diff --git a/shell/rtdv3.sh b/shell/rtdv3.sh index f5be6e6b..23d373d1 100644 --- a/shell/rtdv3.sh +++ b/shell/rtdv3.sh @@ -41,6 +41,15 @@ fi #MASTER_RTD_PROJECT as a global jenkins cnt masterproject="$umbrella-$MASTER_RTD_PROJECT" +#Exceptions needed for onap, due to importing their old docs. +if [[ $masterproject == "onap-doc" ]]; then + masterproject="onap" +fi +if [[ $rtdproject == "onap-doc" ]]; then + rtdproject="onap" +fi + + echo "INFO:" echo "INFO: Project: $PROJECT" echo "INFO: Read the Docs Sub Project: https://$rtdproject.readthedocs.io"