From b5691a997dfed76185373c34211a2456c9fd9c6d Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 25 Sep 2018 14:15:06 +0200 Subject: [PATCH] Replace bintray urls with binaries.sonarsource.com --- build.gradle | 2 +- .../__snapshots__/EditionBoxes-test.tsx.snap | 12 ++++++------ .../sonar-web/src/main/js/apps/marketplace/utils.ts | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index d502a35dd5e..0a7078a1cc4 100644 --- a/build.gradle +++ b/build.gradle @@ -411,7 +411,7 @@ artifactory { } clientConfig.info.setBuildName('sonar-enterprise') clientConfig.info.setBuildNumber(System.getenv('BUILD_NUMBER')) - // Define the artifacts to be deployed to https://sonarsource.bintray.com on releases + // Define the artifacts to be deployed to https://binaries.sonarsource.com on releases clientConfig.info.addEnvironmentProperty('ARTIFACTS_TO_PUBLISH', "${project.group}:sonar-application:zip," + "com.sonarsource.sonarqube:sonarqube-developer:zip," + diff --git a/server/sonar-web/src/main/js/apps/marketplace/__tests__/__snapshots__/EditionBoxes-test.tsx.snap b/server/sonar-web/src/main/js/apps/marketplace/__tests__/__snapshots__/EditionBoxes-test.tsx.snap index b27aa61041a..251e57d80e2 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/__tests__/__snapshots__/EditionBoxes-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/marketplace/__tests__/__snapshots__/EditionBoxes-test.tsx.snap @@ -8,7 +8,7 @@ exports[`should display the available edition boxes correctly 1`] = ` currentEdition="community" edition={ Object { - "downloadUrl": "https://sonarsource.bintray.com/CommercialDistribution/editions/developer-edition-7.0.0.717.zip", + "downloadUrl": "https://binaries.sonarsource.com/CommercialDistribution/editions/developer-edition-7.0.0.717.zip", "homeUrl": "https://redirect.sonarsource.com/editions/developer.html", "key": "developer", "name": "Developer Edition", @@ -20,7 +20,7 @@ exports[`should display the available edition boxes correctly 1`] = ` currentEdition="community" edition={ Object { - "downloadUrl": "https://sonarsource.bintray.com/CommercialDistribution/editions/enterprise-edition-7.0.0.717.zip", + "downloadUrl": "https://binaries.sonarsource.com/CommercialDistribution/editions/enterprise-edition-7.0.0.717.zip", "homeUrl": "https://redirect.sonarsource.com/editions/enterprise.html", "key": "enterprise", "name": "Enterprise Edition", @@ -32,7 +32,7 @@ exports[`should display the available edition boxes correctly 1`] = ` currentEdition="community" edition={ Object { - "downloadUrl": "https://sonarsource.bintray.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip", + "downloadUrl": "https://binaries.sonarsource.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip", "homeUrl": "https://redirect.sonarsource.com/editions/datacenter.html", "key": "datacenter", "name": "Data Center Edition", @@ -51,7 +51,7 @@ exports[`should display the datacenter edition box only 1`] = ` currentEdition="enterprise" edition={ Object { - "downloadUrl": "https://sonarsource.bintray.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip", + "downloadUrl": "https://binaries.sonarsource.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip", "homeUrl": "https://redirect.sonarsource.com/editions/datacenter.html", "key": "datacenter", "name": "Data Center Edition", @@ -70,7 +70,7 @@ exports[`should display the enterprise and datacenter edition boxes 1`] = ` currentEdition="developer" edition={ Object { - "downloadUrl": "https://sonarsource.bintray.com/CommercialDistribution/editions/enterprise-edition-7.0.0.717.zip", + "downloadUrl": "https://binaries.sonarsource.com/CommercialDistribution/editions/enterprise-edition-7.0.0.717.zip", "homeUrl": "https://redirect.sonarsource.com/editions/enterprise.html", "key": "enterprise", "name": "Enterprise Edition", @@ -82,7 +82,7 @@ exports[`should display the enterprise and datacenter edition boxes 1`] = ` currentEdition="developer" edition={ Object { - "downloadUrl": "https://sonarsource.bintray.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip", + "downloadUrl": "https://binaries.sonarsource.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip", "homeUrl": "https://redirect.sonarsource.com/editions/datacenter.html", "key": "datacenter", "name": "Data Center Edition", diff --git a/server/sonar-web/src/main/js/apps/marketplace/utils.ts b/server/sonar-web/src/main/js/apps/marketplace/utils.ts index ac04e962c24..ef9097d577d 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/utils.ts +++ b/server/sonar-web/src/main/js/apps/marketplace/utils.ts @@ -53,21 +53,21 @@ export const EDITIONS: Edition[] = [ name: 'Developer Edition', homeUrl: 'https://redirect.sonarsource.com/editions/developer.html', downloadUrl: - 'https://sonarsource.bintray.com/CommercialDistribution/editions/developer-edition-7.0.0.717.zip' + 'https://binaries.sonarsource.com/CommercialDistribution/editions/developer-edition-7.0.0.717.zip' }, { key: EditionKey.enterprise, name: 'Enterprise Edition', homeUrl: 'https://redirect.sonarsource.com/editions/enterprise.html', downloadUrl: - 'https://sonarsource.bintray.com/CommercialDistribution/editions/enterprise-edition-7.0.0.717.zip' + 'https://binaries.sonarsource.com/CommercialDistribution/editions/enterprise-edition-7.0.0.717.zip' }, { key: EditionKey.datacenter, name: 'Data Center Edition', homeUrl: 'https://redirect.sonarsource.com/editions/datacenter.html', downloadUrl: - 'https://sonarsource.bintray.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip' + 'https://binaries.sonarsource.com/CommercialDistribution/editions/datacenter-edition-7.0.0.717.zip' } ]; -- 2.39.5