summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-01-20 10:33:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-20 10:33:15 +0000
commit0de7c95e85e1eb73879eed69d017769229e8127f (patch)
treec8d5c7cb187a1bd592e4a0ee37c6cf2ef83bc98e
parent5eb50c1f161a7bc1814b5f5082db93eedf7839ba (diff)
parent0aec34133eba3250904f0fd9fc7869b20775c858 (diff)
Merge "jjb: infra: bifrost-verify.sh: Rework code for uploading the build log"
-rwxr-xr-xjjb/infra/bifrost-verify.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/infra/bifrost-verify.sh b/jjb/infra/bifrost-verify.sh
index 2cb41a45b..201d3f2d6 100755
--- a/jjb/infra/bifrost-verify.sh
+++ b/jjb/infra/bifrost-verify.sh
@@ -20,7 +20,9 @@ function upload_logs() {
echo "Uploading build logs to ${BIFROST_LOG_URL}"
echo "Uploading console output"
- curl -s -L ${BIFROST_CONSOLE_LOG} | gsutil -q cp -Z - ${BIFROST_GS_URL}/build_log.txt
+ curl -s -L ${BIFROST_CONSOLE_LOG} > build_log.txt
+ gsutil -q cp -Z build_log.txt ${BIFROST_GS_URL}/build_log.txt
+ rm build_log.txt
[[ ! -d ${WORKSPACE}/logs ]] && exit 0