Feat: Allow use of newer JDKs for Sonar scans
[releng/global-jjb.git] / shell / logs-deploy.sh
index 7522e81..bd41608 100644 (file)
@@ -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,6 @@ else
     lftools deploy s3 ${pattern_opts:-} "$S3_BUCKET" "$s3_path" \
         "$BUILD_URL" "$WORKSPACE"
 
-    echo "S3 build logs: <a href=\"https://$CDN_URL/$s3_path\"></a>"
+    echo "S3 build logs: <a href=\"https://$CDN_URL/$s3_path\">https://$CDN_URL/$s3_path</a>"
 fi