diff options
author | Jun Li <matthew.lijun@huawei.com> | 2016-01-05 03:42:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-05 03:42:01 +0000 |
commit | 8fc626e74e066567a17be02e3e593bde16d9bf62 (patch) | |
tree | 0a6ee90506de72ce895260291242e54188608728 /jjb/releng-macros.yaml | |
parent | 95561b6d8fad21199ce009ead9998defda7a6b32 (diff) | |
parent | e8514c1a8a6f61b7639fca9b78e127d392ced87f (diff) |
Merge "Enable brahmaputra branch for doc verify and merge jobs"
Diffstat (limited to 'jjb/releng-macros.yaml')
-rw-r--r-- | jjb/releng-macros.yaml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index 8d6f55193..787b7bacc 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -216,17 +216,12 @@ echo "#####################" echo - if [[ "$GERRIT_BRANCH" == "master" ]] ; then - gs_base="artifacts.opnfv.org/$GERRIT_PROJECT" - else - gs_base="artifacts.opnfv.org/$GERRIT_PROJECT/$GERRIT_BRANCH" - fi - gs_path="$gs_base/docs" + gs_path="$GS_URL/docs" local_path="upload/docs" mkdir -p upload mv output "$local_path" - gsutil -m cp -r "$local_path" "gs://$gs_base" + gsutil -m cp -r "$local_path" "gs://$GS_URL" if gsutil ls "gs://$gs_path" | grep -e 'html$' > /dev/null 2>&1 ; then gsutil -m setmeta \ |