X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-central.sh;h=88c3bc146364146d66fd583338d9d2acc13bc779;hb=a86c6e8d376c95aa00b179fce9d207e61c8f72d0;hp=dede18d42682aa9693da4892065cf0f6b3bd150e;hpb=2f43e2ee13855a63f793d2991f1a3dbf064c1cec;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-central.sh b/shell/maven-central.sh index dede18d4..88c3bc14 100644 --- a/shell/maven-central.sh +++ b/shell/maven-central.sh @@ -8,6 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> maven-central.sh" profile_id="${OSSRH_PROFILE_ID:-}" @@ -20,4 +21,7 @@ lftools deploy nexus-stage "https://oss.sonatype.org" "$profile_id" "$WORKSPACE/ mc_staging_repo=$(sed -n -e 's/Staging repository \(.*\) created\./\1/p' "$MC_TMP_FILE") rm -f "$MC_TMP_FILE" -echo "$mc_staging_repo https://oss.sonatype.org/content/repositories/$mc_staging_repo" | tee -a "$WORKSPACE/archives/staging-repo.txt" +# shellcheck disable=SC2140 +echo "$mc_staging_repo "\ +"https://oss.sonatype.org/content/repositories/$mc_staging_repo" | \ + tee -a "$WORKSPACE/archives/staging-repo.txt"