summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-08-26 16:36:43 -0400
committerAric Gardner <agardner@linuxfoundation.org>2015-08-26 16:37:38 -0400
commit96530b25d226c46423daa7145d07305ab2af7cfc (patch)
treed6fe5e40c471797b2d89011863c23b98d98388e3 /jjb
parent06f852e9058e0820fcb6722a43c9df44d279151f (diff)
Fix comment path to inclde doc subdir
Change-Id: Ic4086fb6c831c3a6662d4b85219450e2d393ca17 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb')
-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