summaryrefslogtreecommitdiffstats
path: root/jjb/cperf/cperf-upload-logs-csit.sh
blob: bd868040661e91ba02b010b2aa790b63e34801f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

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_STREAM}/${BUILD_NUMBER}/
echo "Uploading robot logs to ${UPLOAD_LOCATION}"
gsutil -m cp -r -v ${LOGS_LOCATION} gs://${UPLOAD_LOCATION} > gsutil.latest_logs.log