X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fdeploy-maven-file.sh;h=9721ee2249ba5104f72b1c29d7371b0436db399a;hb=40d61a6fd4fdc64240fc298e039d9f88215e5e40;hp=e5bf050025fa408472954fca8fae6905a38945c5;hpb=f1965ead65dbec24eafddcd6e59c793406a4c099;p=releng%2Fglobal-jjb.git diff --git a/shell/deploy-maven-file.sh b/shell/deploy-maven-file.sh index e5bf0500..9721ee22 100644 --- a/shell/deploy-maven-file.sh +++ b/shell/deploy-maven-file.sh @@ -37,8 +37,7 @@ export MAVEN_PARAMS DEPLOY_LOG="$WORKSPACE/archives/deploy-maven-file.log" mkdir -p "$WORKSPACE/archives" -while IFS="" read -r file -do +while IFS="" read -r file; do file_size=$(stat --printf="%s" "${file}") echo "Deploy ${file##*/} with ${file_size} bytes." lftools deploy maven-file "$MAVEN_REPO_URL" \