]> source.dussan.org Git - sonarqube.git/commitdiff
Cleanup travis run_iris script
authorMalena Ebert <malena.ebert@sonarsource.com>
Tue, 5 Jan 2021 08:18:00 +0000 (09:18 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 5 Jan 2021 20:15:14 +0000 (20:15 +0000)
.travis/run_iris.sh

index 9abfc2813a1ac2b686a2fcca788317885f22f106..0ea8cc7476fee157319e392c15b888923f045cf9 100755 (executable)
@@ -13,7 +13,7 @@ HTTP_CODE=$(\
 
 if [ "$HTTP_CODE" != "200" ]; then
   echo "Download $VERSION failed -> $HTTP_CODE"
-  exit -1
+  exit 1
 else
   echo "Downloaded $VERSION"
 fi
@@ -24,4 +24,4 @@ java -Diris.projectKey=org.sonarsource.sonarqube:sonarqube \
   -Diris.destination.url=$SONAR_HOST_URL \
   -Diris.destination.token=$SONAR_TOKEN \
   -Diris.maxcountposts=50 \
-  -jar iris-[RELEASE]-jar-with-dependencies.jar
+  -jar iris-\[RELEASE\]-jar-with-dependencies.jar