Fix ONAP exception.
[releng/global-jjb.git] / shell / rtdv3.sh
index 314ce9f..23d373d 100644 (file)
@@ -41,10 +41,13 @@ fi
 #MASTER_RTD_PROJECT as a global jenkins cnt
 masterproject="$umbrella-$MASTER_RTD_PROJECT"
 
-#Exception needed for onap, due to importing their old docs.
+#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:"