summaryrefslogtreecommitdiffstats
path: root/jjb/genesis/build-docu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/genesis/build-docu.sh')
-rw-r--r--jjb/genesis/build-docu.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/genesis/build-docu.sh b/jjb/genesis/build-docu.sh
index ca9ecd0d3..11afabdcf 100644
--- a/jjb/genesis/build-docu.sh
+++ b/jjb/genesis/build-docu.sh
@@ -6,4 +6,7 @@ for file in $(find . -type f -iname '*.rst'); do
pdf_file=$file_cut".pdf"
rst2html $file > $html_file
rst2pdf $file -o $pdf_file
+ gs_cp_folder=$(echo $file| cut -d "/" -f2,3)
+ /usr/local/bin/gsutil cp $html_file gs://artifacts.opnfv.org/genesis/$gs_cp_folder/
+ /usr/local/bin/gsutil cp $pdf_file gs://artifacts.opnfv.org/genesis/$gs_cp_folder/
done