summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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