|
@@ -67,7 +67,7 @@ end
|
|
findbugs_report = String.new(findbugs_reports[0])
|
|
findbugs_report = String.new(findbugs_reports[0])
|
|
|
|
|
|
# find number of warnings
|
|
# find number of warnings
|
|
-current_warning_count = `grep -A 3 "<b>Total</b>" build/reports/spotbugs/spotbugs.html | tail -n1 | cut -f2 -d">" | cut -f1 -d"<"`.to_i
|
|
|
|
|
|
+current_warning_count = `grep -A 3 "<b>Total</b>" app/build/reports/spotbugs/spotbugs.html | tail -n1 | cut -f2 -d">" | cut -f1 -d"<"`.to_i
|
|
puts "found warnings: " + current_warning_count.to_s
|
|
puts "found warnings: " + current_warning_count.to_s
|
|
|
|
|
|
# get warning counts from last successful build
|
|
# get warning counts from last successful build
|