summaryrefslogtreecommitdiffstats
path: root/jjb/releng-macros.yaml
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2015-11-23 23:47:53 +0900
committerRyota MIBU <r-mibu@cq.jp.nec.com>2015-11-23 23:47:53 +0900
commitf8bc50378f857f3dc38d4b9cf3977fe0f719b09b (patch)
treef12ef71ae3ae6ad1e08e7e628807be7b95e72752 /jjb/releng-macros.yaml
parent6ce789205971f59471aa968011852e85869ac117 (diff)
fix document build (link list)
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: Ic1ce4170fb748345b0371d02f97969be73e60d85
Diffstat (limited to 'jjb/releng-macros.yaml')
-rw-r--r--jjb/releng-macros.yaml10
1 files 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