Fix comment path to inclde doc subdir 25/1325/1
authorAric Gardner <agardner@linuxfoundation.org>
Wed, 26 Aug 2015 20:36:43 +0000 (16:36 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Wed, 26 Aug 2015 20:37:38 +0000 (16:37 -0400)
Change-Id: Ic4086fb6c831c3a6662d4b85219450e2d393ca17
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
jjb/releng/docu-build-new.sh

index fac0435..ddd4100 100755 (executable)
@@ -51,9 +51,9 @@ fi
 if [[ $JOB_NAME =~ "verify" ]] ; then
     gsutil cp -r docs/output/"${{dir##*/}}/" "gs://$gs_path_review/"
     echo
-    echo "Document is available at http://$gs_path_review/index.html"
     # post link to gerrit as comment
-    gerrit_comment=$(echo '"Document is available at 'http://$gs_path_review/index.html' for review"')
+    gerrit_comment=$(echo '"Document is available at 'http://$gs_path_review/"${{dir##*/}}/"/index.html' for review"')
+    echo "$gerrit_comment"
     ssh -p 29418 gerrit.opnfv.org gerrit review -p $GERRIT_PROJECT -m \
     $gerrit_comment $GERRIT_PATCHSET_REVISION
 else