Преглед изворни кода

fix findbugs/spotbugs

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky пре 6 година
родитељ
комит
79659e04a5
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      scripts/analysis/analysis-wrapper.sh
  2. 1 1
      scripts/analysis/findbugs-results.txt

+ 1 - 1
scripts/analysis/analysis-wrapper.sh

@@ -28,7 +28,7 @@ if [ $3 = $stableBranch ]; then
     echo "New findbugs result for $stableBranch at: https://www.kaminsky.me/nc-dev/$repository-findbugs/$stableBranch.html"
     curl -u $4:$5 -X PUT https://nextcloud.kaminsky.me/remote.php/webdav/$repository-findbugs/$stableBranch.html --upload-file build/reports/spotbugs/spotbugs.html
 
-    summary=$(sed -n "/<h1>Summary<\/h1>/,/<h1>Warnings<\/h1>/p" build/reports/spotbugs/spotbugs.html | head -n-1 | sed s'/<\/a>//'g | sed s'/<a.*>//'g | sed s"/Summary/FindBugs ($stableBranch)/" | tr "\"" "\'" | tr -d "\r\n")
+    summary=$(sed -n "/<h1>Summary<\/h1>/,/<h1>Warnings<\/h1>/p" build/reports/spotbugs/spotbugs.html | head -n-1 | sed s'/<\/a>//'g | sed s'/<a.*>//'g | sed s"/Summary/SpotBugs ($stableBranch)/" | tr "\"" "\'" | tr -d "\r\n")
     curl -u $4:$5 -X PUT -d "$summary" https://nextcloud.kaminsky.me/remote.php/webdav/$repository-findbugs/findbugs-summary-$stableBranch.html
 
     if [ $lintValue -ne 1 ]; then

+ 1 - 1
scripts/analysis/findbugs-results.txt

@@ -1 +1 @@
-475
+477