diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2016-10-20 12:48:27 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2016-10-20 12:48:27 -0700 |
commit | afbde1ea089038b4cefe658e8fb7af4f454d7429 (patch) | |
tree | da3619292080aef0f42292c58b9270419fe5b7cb /jjb | |
parent | d4163b65585292ee81c7d22465dac817479ed576 (diff) |
Upload Generated Documentation to Correct Path
Documentation for Colorado 2.0 is not being uploaded to the correct
place. Instead of being uploaded to 'colorado/2.0/docs' documentation is
getting uploaded to 'colorado/2.0/'. Using `$gs_path` over `$GS_URL`
should fix this.
Further this should fix the failure from the gsutil command happening
when trying to set the correct Content-Type header on HTML files as it's
referencing a path that does not exist.
JIRA: DOCS-161
Change-Id: Ic732fda5cac54b1cc4834f2b44000ee87838f269
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/releng-macros.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index d2dc1d1ec..2ebd7757b 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -176,7 +176,7 @@ mkdir -p upload mv docs_output "$local_path" - gsutil -m cp -r "$local_path" "gs://$GS_URL" + gsutil -m cp -r "$local_path" "gs://$gs_path" gsutil -m setmeta \ -h "Content-Type:text/html" \ |