X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-central.sh;h=88c3bc146364146d66fd583338d9d2acc13bc779;hb=24d80c063923fc2ae4e76a5797ae471601c18569;hp=da36d36f762e88dc81e59b51c4506251c3a661a0;hpb=bc5892ef503dc4039aa0aae4043e5c9b2cc9a363;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-central.sh b/shell/maven-central.sh index da36d36f..88c3bc14 100644 --- a/shell/maven-central.sh +++ b/shell/maven-central.sh @@ -21,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"