diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-06-04 10:03:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-06-04 10:03:31 +0000 |
commit | c99d7859e948673fcbfd6e32b36ae2b6272bc3cd (patch) | |
tree | d83b555b68664a5228db9d5e71852d5e9b7904ca /jjb/doctor | |
parent | 305051a4503f0147654dc073b052db1065b44f8c (diff) | |
parent | c1193966000f6265c62976ace2e74037b2f171aa (diff) |
Merge "Fix target file path for 'gsutil setmeta'"
Diffstat (limited to 'jjb/doctor')
-rw-r--r-- | jjb/doctor/docu-build.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/jjb/doctor/docu-build.sh b/jjb/doctor/docu-build.sh index 37b1c6f59..23dac9377 100644 --- a/jjb/doctor/docu-build.sh +++ b/jjb/doctor/docu-build.sh @@ -2,7 +2,6 @@ set -e set -o pipefail -design_docs_dir="design_docs" build_dir="build" project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')" export PATH=$PATH:/usr/local/bin/ @@ -11,13 +10,13 @@ make # upload all built files files=( - $build_dir/$design_docs_dir - $build_dir/requirements/html - $build_dir/requirements/latex/*.pdf + design_docs + requirements/html + requirements/latex/*.pdf ) for file in "${{files[@]}}"; do - gsutil cp -r -L gsoutput.txt $file gs://artifacts.opnfv.org/$project/ + gsutil cp -r -L gsoutput.txt $build_dir/$file gs://artifacts.opnfv.org/$project/ gsutil setmeta -h "Cache-Control:private, max-age=0, no-transform" \ gs://artifacts.opnfv.org/$project/$file cat gsoutput.txt |