summaryrefslogtreecommitdiffstats
path: root/jjb/releng-macros.yaml
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2015-11-26 21:05:14 +0900
committerRyota MIBU <r-mibu@cq.jp.nec.com>2015-11-26 21:05:14 +0900
commitd71ea5fba2ad0ff933d9e8301953e5205c851bf4 (patch)
treed37fdbcbd22de17524f57b2d5429683e885134bc /jjb/releng-macros.yaml
parent42db505c97fe9525d3a9aa67f5b79923e3723a28 (diff)
jjb: fix src dir to upload gs in doc builder jobs
Change-Id: Ibdabd8d1fac2918b6871849b5f31a9f41dad7f47 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Diffstat (limited to 'jjb/releng-macros.yaml')
-rw-r--r--jjb/releng-macros.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml
index 5ef8a170e..1f091b973 100644
--- a/jjb/releng-macros.yaml
+++ b/jjb/releng-macros.yaml
@@ -200,7 +200,7 @@
{
sphinx-build -b latex -E "$dir" "$_build"
make -C "$_build" LATEXOPTS='--interaction=nonstopmode' all-pdf
- mv "$_build"/*.pdf "$_output"
+ mv "$_build/$_name.pdf" "$_output"
} || {
_msg="Error: PDF creation for $dir has failed, please fix source rst file(s)."
echo
@@ -229,7 +229,7 @@
gs_path="artifacts.opnfv.org/review/$GERRIT_CHANGE_NUMBER"
- gsutil -m cp -r docs/output/* "gs://$gs_path"
+ gsutil -m cp -r docs/output "gs://$gs_path"
if gsutil ls "gs://$gs_path" | grep -e 'html$' > /dev/null 2>&1 ; then
gsutil -m setmeta \