Browse Source

enhance

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 7 months ago
parent
commit
916f38bad4
1 changed files with 2 additions and 4 deletions
  1. 2 4
      scripts/analysis/analysis-wrapper.sh

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

@@ -18,6 +18,8 @@ ruby scripts/analysis/lint-up.rb
 lintValue=$?
 lintValue=$?
 
 
 curl "https://www.kaminsky.me/nc-dev/$repository-findbugs/$stableBranch.xml" -o "/tmp/$stableBranch.xml"
 curl "https://www.kaminsky.me/nc-dev/$repository-findbugs/$stableBranch.xml" -o "/tmp/$stableBranch.xml"
+[[ ! -e test1 ]] && exit 1
+
 ruby scripts/analysis/spotbugs-up.rb "$stableBranch"
 ruby scripts/analysis/spotbugs-up.rb "$stableBranch"
 spotbugsValue=$?
 spotbugsValue=$?
 
 
@@ -132,10 +134,6 @@ else
         exit 1
         exit 1
     fi
     fi
 
 
-    if [ $checkLibrary -eq 1 ]; then
-        exit 1
-    fi
-
     if [ ! $lintValue -eq 2 ]; then
     if [ ! $lintValue -eq 2 ]; then
         exit $lintValue
         exit $lintValue
     fi
     fi