The size of the file is useful to determine if nexus deploy failures
are due to the file size exceeding the limits.
Change-Id: I1c0eda93ab964a30e37ea910a7a5859a65de8ee3
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
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" \
"$REPO_ID" \
"$file" \
lftools deploy maven-file "$MAVEN_REPO_URL" \
"$REPO_ID" \
"$file" \