Feat: Allow use of newer JDKs for Sonar scans
[releng/global-jjb.git] / shell / deploy-maven-file.sh
index e5bf050..e4559ab 100644 (file)
@@ -37,15 +37,14 @@ 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" \
-                              "$REPO_ID" \
-                              "$file" \
-                              -b "$MVN" \
-                              -g "$GROUP_ID" \
-                              -p "$MAVEN_OPTIONS $MAVEN_PARAMS" \
-                              |& tee "$DEPLOY_LOG"
+                                "$REPO_ID" \
+                                "$file" \
+                                -b "$MVN" \
+                                -g "$GROUP_ID" \
+                                -p "$MAVEN_OPTIONS $MAVEN_PARAMS" \
+                                |& tee "$DEPLOY_LOG"
 done < <(find "$UPLOAD_FILES_PATH" -xtype f -name "*")