From: Aric Gardner Date: Wed, 26 Aug 2015 20:36:43 +0000 (-0400) Subject: Fix comment path to inclde doc subdir X-Git-Tag: arno.2015.2.0~86 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=96530b25d226c46423daa7145d07305ab2af7cfc;p=releng.git Fix comment path to inclde doc subdir Change-Id: Ic4086fb6c831c3a6662d4b85219450e2d393ca17 Signed-off-by: Aric Gardner --- 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