summaryrefslogtreecommitdiffstats
path: root/jjb/genesis
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-04-17 15:18:07 -0400
committerAric Gardner <agardner@linuxfoundation.org>2015-04-17 15:40:32 -0400
commit42e7f7bc6cf41d68b1ae7247d10314f5f67d638c (patch)
tree3100723ff0e61d659ae23cf37bf69dfc5b633daf /jjb/genesis
parentb272a045032271bc085622478be62df4c021f107 (diff)
fix typo, also delete gsoutput.txt after it is echoed
gsutil was silently dying refusing to overrite gsoutput.txt JIRA:0000 Change-Id: I8e633677908335e035f86f5aa9a60bb8f0600177 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/genesis')
-rw-r--r--jjb/genesis/build-docu.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/jjb/genesis/build-docu.sh b/jjb/genesis/build-docu.sh
index a98450dbe..b3869fcf7 100644
--- a/jjb/genesis/build-docu.sh
+++ b/jjb/genesis/build-docu.sh
@@ -21,6 +21,7 @@ for file in "${{files[@]}}"; do
-h "Cache-Control:private, max-age=0, no-transform" \
gs://artifacts.opnfv.org/"$project"/"$gs_cp_folder"/$(basename "$html_file")
cat gsoutput.txt
+ rm -f gsoutput.txt
pdf_file="$file_cut"".pdf"
@@ -31,7 +32,7 @@ for file in "${{files[@]}}"; do
-h "Cache-Control:private, max-age=0, no-transform" \
gs://artifacts.opnfv.org/"$project"/"$gs_cp_folder"/$(basename "$pdf_file")
cat gsoutput.txt
+ rm -f gsoutput.txt
done
-rm -f gsoutput.txt