Correct path for upload in merge job 67/1367/1
authorAric Gardner <agardner@linuxfoundation.org>
Tue, 1 Sep 2015 14:14:57 +0000 (10:14 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Tue, 1 Sep 2015 14:14:57 +0000 (10:14 -0400)
Change-Id: Ib5c69a26d45f3f7a01e1630f9acea997b3d446aa
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
jjb/releng/docu-build-new.sh

index ba33aeb..b4d58f3 100755 (executable)
@@ -83,8 +83,8 @@ for dir in "${{directories[@]}}"; do
   else
 
     #upload artifacts for merge job
-    gsutil cp -r docs/output/"${{dir##*/}}/" "gs://$gs_path_branch/"
-    echo "Latest document is available at http://$gs_path_branch/index.html"
+    gsutil cp -r docs/output/"${{dir##*/}}/" "gs://$gs_path_branch/"${{dir}}/""
+    echo "Latest document is available at http://$gs_path_branch/"${{dir}}/"index.html"
 
     #set cache to 0
     for x in $(gsutil ls gs://$gs_path_branch/"${{dir}}" | grep html);