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