Selaa lähdekoodia

fail if findbugs increased

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 6 vuotta sitten
vanhempi
commit
82ee8b8627
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      scripts/analysis/analysis-wrapper.sh

+ 6 - 2
scripts/analysis/analysis-wrapper.sh

@@ -116,9 +116,13 @@ else
         exit 1
     fi
 
-    if [ $lintValue -eq 2 ]; then
+    if [ ! $lintValue -eq 2 ]; then
+        exit $lintValue
+    fi
+
+    if [ $findbugsValue -eq 2 ]; then
         exit 0
     else
-        exit $lintValue
+        exit $findbugsValue
     fi
 fi