X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Flogs-deploy.sh;h=d797fa7e690fffd0177dc3bc92a505d940efd25f;hb=a5fa8a32ab2f856fecc7505fdfd7a8e12df2c402;hp=7522e81b7a8347762a0b50d8d8f4f76d7d72b8dc;hpb=dda5157a63d6d92115e36edda5cdcb35e399e6db;p=releng%2Fglobal-jjb.git diff --git a/shell/logs-deploy.sh b/shell/logs-deploy.sh index 7522e81b..d797fa7e 100644 --- a/shell/logs-deploy.sh +++ b/shell/logs-deploy.sh @@ -12,7 +12,7 @@ echo "---> logs-deploy.sh" # shellcheck disable=SC1090 source ~/lf-env.sh -lf-activate-venv lftools +lf-activate-venv --python python3.8 lftools # Ensure we fail the job if any steps fail # Disable 'globbing' @@ -24,8 +24,7 @@ set -euf -o pipefail # self-contained, we ensure it exists here. mkdir -p "$WORKSPACE/archives" -function get_pattern_opts() -{ +get_pattern_opts () { opts=() for arg in ${ARCHIVE_ARTIFACTS:-}; do opts+=("-p" "$arg") @@ -63,6 +62,5 @@ else lftools deploy s3 ${pattern_opts:-} "$S3_BUCKET" "$s3_path" \ "$BUILD_URL" "$WORKSPACE" - echo "S3 build logs: " + echo "S3 build logs: https://$CDN_URL/$s3_path" fi -