summaryrefslogtreecommitdiffstats
path: root/jjb/genesis
diff options
context:
space:
mode:
authorVictor Laza <vlaza@cloudbasesolutions.com>2015-04-15 17:46:54 +0300
committerVictor Laza <vlaza@cloudbasesolutions.com>2015-04-15 17:46:54 +0300
commit818c51ca2d7d5c98b2da7722064b22c35c7c920e (patch)
treee8771d62a84f58a307197e55ca75fc62462598ad /jjb/genesis
parent3114d3e3ced2f63b1049c6cfb53259d79c4355d7 (diff)
Changed build-docu.sh for genesis project
JIRA: genesis is special in nature and it might contain various documentations that should go under specific <installer>/docs/ after it gets built Change-Id: I1e6fc9307086fd3c332addb61266992f1fb25ddb Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
Diffstat (limited to 'jjb/genesis')
-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