diff options
author | Julien Carsique <julien.carsique@sonarsource.com> | 2023-12-27 19:01:16 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-23 20:04:15 +0000 |
commit | d26c2ca7db6af4b2cfc24d3f560e5354d0692f9e (patch) | |
tree | a97d938a49630b8ed3c61ccc22dbb8eb52978deb /.travis/run_iris.sh | |
parent | 29f0fde0bf04408dd3c35d5122bacda8289e6926 (diff) | |
download | sonarqube-d26c2ca7db6af4b2cfc24d3f560e5354d0692f9e.tar.gz sonarqube-d26c2ca7db6af4b2cfc24d3f560e5354d0692f9e.zip |
BUILD-3755 migrate Travis to Cirrus CI
Diffstat (limited to '.travis/run_iris.sh')
-rwxr-xr-x | .travis/run_iris.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/.travis/run_iris.sh b/.travis/run_iris.sh deleted file mode 100755 index d08dec56483..00000000000 --- a/.travis/run_iris.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -set +x - -VERSION="\[RELEASE\]" -HTTP_CODE=$(\ - curl \ - --write-out '%{http_code}' \ - --location \ - --remote-name \ - --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" - exit 1 -else - echo "Downloaded $VERSION" -fi - -java \ - -Diris.source.projectKey=org.sonarsource.sonarqube:sonarqube-private \ - -Diris.source.url=https://next.sonarqube.com/sonarqube \ - -Diris.source.token=$NEXT_TOKEN \ - -Diris.destination.projectKey=sonarqube \ - -Diris.destination.url=https://next.sonarqube.com/sonarqube \ - -Diris.destination.token=$NEXT_TOKEN \ - -Diris.maxcountposts=50 \ - -jar iris-\[RELEASE\]-jar-with-dependencies.jar |