X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcperf%2Fcperf-upload-logs-csit.sh;h=bd868040661e91ba02b010b2aa790b63e34801f1;hb=33a7b28d446fbd2d8fca6213f3c9c805a7aafd2d;hp=7bf91df8bf77aba4d5dac68e3c4c28f6c7994f5f;hpb=fea1ecd0af94bcb4b30c1d5c412ff69d014eb0c9;p=releng.git diff --git a/jjb/cperf/cperf-upload-logs-csit.sh b/jjb/cperf/cperf-upload-logs-csit.sh index 7bf91df8b..bd8680406 100644 --- a/jjb/cperf/cperf-upload-logs-csit.sh +++ b/jjb/cperf/cperf-upload-logs-csit.sh @@ -4,7 +4,9 @@ set -o errexit set -o nounset set -o pipefail +ODL_STREAM=${ODL_BRANCH#"stable/"} + LOGS_LOCATION=/tmp/robot_results -UPLOAD_LOCATION=artifacts.opnfv.org/cperf/cperf-apex-csit-${ODL_BRANCH}/${BUILD_NUMBER}/ +UPLOAD_LOCATION=artifacts.opnfv.org/cperf/cperf-apex-csit-${ODL_STREAM}/${BUILD_NUMBER}/ echo "Uploading robot logs to ${UPLOAD_LOCATION}" gsutil -m cp -r -v ${LOGS_LOCATION} gs://${UPLOAD_LOCATION} > gsutil.latest_logs.log