aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/run_iris.sh
diff options
context:
space:
mode:
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>2024-01-30 10:56:18 +0100
committersonartech <sonartech@sonarsource.com>2024-01-30 15:02:02 +0000
commit33ef0b73458c1869451ebb12b5d0fbe8d9596983 (patch)
tree3b1e645030826f48a51b9c4834bc0861e134df1f /.travis/run_iris.sh
parent3c923a113b98aa9c4ebacf5ceacf9b23160b1c99 (diff)
downloadsonarqube-33ef0b73458c1869451ebb12b5d0fbe8d9596983.tar.gz
sonarqube-33ef0b73458c1869451ebb12b5d0fbe8d9596983.zip
BUILD-3755 Don't trigger a public build for the LTS branch
Diffstat (limited to '.travis/run_iris.sh')
-rwxr-xr-x.travis/run_iris.sh29
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