summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjjb/releng/docu-build-new.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/releng/docu-build-new.sh b/jjb/releng/docu-build-new.sh
index fac043540..ddd4100d2 100755
--- a/jjb/releng/docu-build-new.sh
+++ b/jjb/releng/docu-build-new.sh
@@ -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