From 5ccd38c0f7e947c177a2fbca2fcbc27b5484d805 Mon Sep 17 00:00:00 2001 From: Ilya Zuyev Date: Thu, 1 Jul 2021 13:47:40 -0700 Subject: [PATCH] fix output formatting --- hack/jenkins/common.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/common.sh b/hack/jenkins/common.sh index b3d18f9dbb20..1d86c251afba 100755 --- a/hack/jenkins/common.sh +++ b/hack/jenkins/common.sh @@ -435,14 +435,23 @@ if [ -z "${EXTERNAL}" ]; then # If we're already in GCP, then upload results to GCS directly SHORT_COMMIT=${COMMIT:0:7} JOB_GCS_BUCKET="minikube-builds/logs/${MINIKUBE_LOCATION}/${SHORT_COMMIT}/${JOB_NAME}" - echo ">> Copying ${TEST_OUT} to gs://${JOB_GCS_BUCKET}.out.txt to ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}.out.txt" + + echo ">> Copying ${TEST_OUT} to gs://${JOB_GCS_BUCKET}.out.txt" + echo ">> public URL: ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}.out.txt" gsutil -qm cp "${TEST_OUT}" "gs://${JOB_GCS_BUCKET}.out.txt" - echo ">> uploading ${JSON_OUT} to ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}.json" + + echo ">> uploading ${JSON_OUT} to gs://${JOB_GCS_BUCKET}.json" + echo ">> public URL: ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}.json" gsutil -qm cp "${JSON_OUT}" "gs://${JOB_GCS_BUCKET}.json" || true + echo ">> uploading ${HTML_OUT} to ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}.html" + echo ">> public URL: ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}.html" gsutil -qm cp "${HTML_OUT}" "gs://${JOB_GCS_BUCKET}.html" || true + echo ">> uploading ${SUMMARY_OUT} to ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}_summary.json" + echo ">> public URL: ${REPORT_URL_BASE}/${JOB_GCS_BUCKET}_summary.json" gsutil -qm cp "${SUMMARY_OUT}" "gs://${JOB_GCS_BUCKET}_summary.json" || true + if [[ "${MINIKUBE_LOCATION}" == "master" ]]; then ./test-flake-chart/upload_tests.sh "${SUMMARY_OUT}" elif [[ "${JOB_NAME}" == "Docker_Linux" || "${JOB_NAME}" == "Docker_Linux_containerd" || "${JOB_NAME}" == "KVM_Linux" || "${JOB_NAME}" == "KVM_Linux_containerd" ]]; then