diff options
author | Wouter Admiraal <45544358+wouter-admiraal-sonarsource@users.noreply.github.com> | 2020-02-25 12:53:37 +0100 |
---|---|---|
committer | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2020-02-25 13:18:48 +0100 |
commit | 348572e537d52313ea949fae228ca5cb6ddf8f9a (patch) | |
tree | 40e14dc55fe8b254815ce12b2cb6f8fb8c34580a | |
parent | 26849a7a3fe70f9734cc40ab6b47bc787e5d9fe1 (diff) | |
download | sonarqube-feature/wad/do-not-merge-do-not-merge.tar.gz sonarqube-feature/wad/do-not-merge-do-not-merge.zip |
Update run_iris.shfeature/wad/do-not-merge-do-not-merge
-rwxr-xr-x | .travis/run_iris.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis/run_iris.sh b/.travis/run_iris.sh index 7c11ed1b7b6..78dca6b1a3e 100755 --- a/.travis/run_iris.sh +++ b/.travis/run_iris.sh @@ -1,14 +1,14 @@ #!/bin/bash set +x -VERSION='[RELEASE]' -HTTP_CODE=`curl --write-out %{http_code} -O --user ${ARTIFACTORY_LOGIN}:${ARTIFACTORY_API_KEY} ${ARTIFACTORY_URL}sonarsource-private-releases/com/sonarsource/iris/iris/${VERSION}/iris-${VERSION}-jar-with-dependencies.jar` +VERSION="\[RELEASE\]" +HTTP_CODE=`curl --write-out %{http_code} -O --user $ARTIFACTORY_PRIVATE_USERNAME:$ARTIFACTORY_API_KEY $ARTIFACTORY_URL/sonarsource-private-releases/com/sonarsource/iris/iris/$VERSION/iris-$VERSION-jar-with-dependencies.jar` if [ "$HTTP_CODE" != "200" ]; then - echo "Download ${VERSION} failed -> ${HTTP_CODE}" + echo "Download $VERSION failed -> $HTTP_CODE" exit -1 else - echo "Downloaded ${VERSION}. Running IRIS..." + echo "Downloaded $VERSION" fi java -Diris.projectKey=org.sonarsource.sonarqube:sonarqube \ @@ -18,4 +18,4 @@ java -Diris.projectKey=org.sonarsource.sonarqube:sonarqube \ -Diris.destination.token=$SONAR_TOKEN \ -Diris.maxcountposts=50 \ -Diris.dryrun=true \ - -jar iris-\[RELEASE\]-jar-with-dependencies.jar + -jar iris-[RELEASE]-jar-with-dependencies.jar |