From f8bc50378f857f3dc38d4b9cf3977fe0f719b09b Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Mon, 23 Nov 2015 23:47:53 +0900 Subject: [PATCH] fix document build (link list) Signed-off-by: Ryota MIBU Change-Id: Ic1ce4170fb748345b0371d02f97969be73e60d85 --- jjb/releng-macros.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.16.6