From: Ryota MIBU Date: Mon, 23 Nov 2015 14:47:53 +0000 (+0900) Subject: fix document build (link list) X-Git-Tag: test-tag~179 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F3527%2F1;p=releng.git fix document build (link list) Signed-off-by: Ryota MIBU Change-Id: Ic1ce4170fb748345b0371d02f97969be73e60d85 --- diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index e212763c1..c5bbef7d3 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -214,7 +214,10 @@ "gs://$gs_path"/**.html fi - gerrit_comment="Document link(s): $(gsutil ls gs://$gs_path | grep -e 'index.html$' -e 'pdf$' | sed 's/^gs/http/')" + files=$(find docs/output | grep -e 'index.html$' -e 'pdf$' | \ + sed -e "s|^docs/output| http://$gs_path|") + gerrit_comment="Document link(s): + $files" echo echo "$gerrit_comment" echo @@ -252,7 +255,10 @@ "gs://$gs_path"/**.html fi - gerrit_comment="Document link(s): $(gsutil ls gs://$gs_path | grep -e 'index.html$' -e 'pdf$' | sed 's/^gs/http/')" + files=$(find docs/output | grep -e 'index.html$' -e 'pdf$' | \ + sed -e "s|^docs/output| http://$gs_path|") + gerrit_comment="Document link(s): + $files" echo echo "$gerrit_comment" echo