From d71ea5fba2ad0ff933d9e8301953e5205c851bf4 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Thu, 26 Nov 2015 21:05:14 +0900 Subject: jjb: fix src dir to upload gs in doc builder jobs Change-Id: Ibdabd8d1fac2918b6871849b5f31a9f41dad7f47 Signed-off-by: Ryota MIBU --- jjb/releng-macros.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jjb') 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 \ -- cgit 1.2.3-korg