From ccf80bcbcfa0e1a12fe5c4f38492e53e07993d82 Mon Sep 17 00:00:00 2001 From: Lorenzo Gabriele Date: Tue, 23 Feb 2021 21:47:30 +0100 Subject: [PATCH] Update codacy coverage version to not use bintray (#708) --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 1c166c8c09..623db1f877 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -55,7 +55,7 @@ echoinfo "Uploading test results" # Determine CODACY_REPORTER_VERSION once to avoid hitting the "get latest" API too frequently # in the get.sh commands below. Note: the sed command was copied from get.sh -export CODACY_REPORTER_VERSION="$(curl https://api.bintray.com/packages/codacy/Binaries/codacy-coverage-reporter/versions/_latest | sed -e 's/.*name[^0-9]*\([0-9]\{1,\}[.][0-9]\{1,\}[.][0-9]\{1,\}\).*/\1/' )" +export CODACY_REPORTER_VERSION="$(curl https://artifacts.codacy.com/bin/codacy-coverage-reporter/latest)" echoinfo "Using Codacy Reporter version \$CODACY_REPORTER_VERSION" export CODACY_PROJECT_TOKEN="$(cat /workspace/ci/codacy-project-token | sed -e 's/\n//g')" curl -Ls https://coverage.codacy.com/get.sh > get.sh