CPERF: Adds log collecting job
[releng.git] / jjb / cperf / cperf-upload-logs-csit.sh
1 #!/usr/bin/env bash
2
3 set -o errexit
4 set -o nounset
5 set -o pipefail
6
7 LOGS_LOCATION=/tmp/robot_results
8 UPLOAD_LOCATION=artifacts.opnfv.org/cperf/cperf-apex-csit-${ODL_BRANCH}/${BUILD_NUMBER}/
9 echo "Uploading robot logs to ${UPLOAD_LOCATION}"
10 gsutil -m cp -r -v ${LOGS_LOCATION} gs://${UPLOAD_LOCATION} > gsutil.latest_logs.log