Repository navigation
Conversation
2dc0cd3 to
92f1d2e
Compare
Resolve Gradle and curl artifact fetches from Edge on self-hosted / WarpBuild. Publish, GitHub-hosted, Orchestrator, and local defaults stay on SaaS.
92f1d2e to
304e784
Compare
| # Environment variables (required): | ||
| # ARTIFACTORY_URL: Repox/Artifactory base URL | ||
| # ARTIFACTORY_USERNAME: Authentication username | ||
| # ARTIFACTORY_ACCESS_TOKEN: Authentication token | ||
| # ARTIFACTORY_IDE_URL: Optional override; defaults to SaaS. Edge 404s jetbrains-download. | ||
|
|
There was a problem hiding this comment.
💡 Quality: Optional ARTIFACTORY_IDE_URL is listed under 'required'; header comment broken
The new ARTIFACTORY_IDE_URL is described as an optional override, but the header puts it under Environment variables (required):. An uncommented blank line (15) also splits the header comment block in two. Separately, line 41 now overwrites any ARTIFACTORY_URL the caller had exported. Anyone who used to point the script at a different Artifactory through ARTIFACTORY_URL gets SaaS with no warning, and the :? check on ARTIFACTORY_URL at line 43 can never fail. Move the variable into an optional section, remove the stray blank line, and drop the dead check.
Document the override as optional and keep the header comment in one block:
# Environment variables (required):
# ARTIFACTORY_USERNAME: Authentication username
# ARTIFACTORY_ACCESS_TOKEN: Authentication token
#
# Environment variables (optional):
# ARTIFACTORY_IDE_URL: Override base URL; defaults to SaaS (Edge 404s jetbrains-download).
#
Was this helpful? React with 👍 / 👎
|
Closing to reopen as sonar-platform-bot (same branch). |
|
Reopened as sonar-platform-bot: #1896 |
|
Code Review 👍 Approved with suggestions 1 closed / 2 findings🟡 Medium risk · Multiple CI workflows change artifact endpoints and token-federation behavior. Redirects CI Gradle dependency resolution to Repox Edge on self-hosted/WarpBuild while keeping publish, GitHub-hosted, Orchestrator, and IDE tarball fetches on SaaS. Consider clarifying the 💡 Quality: Optional ARTIFACTORY_IDE_URL is listed under 'required'; header comment broken📄 .github/scripts/download-ides.sh:11-15 📄 .github/scripts/download-ides.sh:41-43 The new Document the override as optional and keep the header comment in one block✅ 1 closedClosed: Bug: Setting ARTIFACTORY_URL to Edge breaks build-gradle's SaaS build link
🤖 Prompt for agentsVerificationFunctional validation No results Rules No rules evaluated Auto-approval Not enabledOptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |





Summary
https://repox-internal.dev.sonar.build/artifactoryon self-hosted / WarpBuild only.sonarsourceandplugins.gradle.orgbefore Gradle (inlined wait: this public repo cannot resolve the privatesonarsource-infra-artifactoryaction).artifactoryPublishcontext URL +promote@v1).repox.jfrog.io).api/search/versionsonsonarsource-releases.jetbrains-download(e.g.idea-2025.3.2.tar.gz). QA plugin zip still uses Edge.https://repox.jfrog.io.Parent: BUILD-12645. This repo is ~1.7 TB/month on SaaS (Gradle 0.19 TB/week + curl 0.17 TB/week). The curl slice stays on SaaS until Edge serves
jetbrains-download.Test plan
https://repox-internal.dev.sonar.build/artifactory/...(pluginManagementplugins.gradle.org+sonarsource)sonarsource-public-qa)https://repox.jfrog.io/artifactory/jetbrains-download/...artifactoryPublishstill deploys to SaaShttps://repox.jfrog.io/artifactory(sonarsource-public-qa)orchestrator.artifactory.url=https://repox.jfrog.io/repox)artifactory.response.length.bytesfor this repo’s Gradle client drops on SaaS (baseline ~0.19 TB/week). Curl IDEs (~0.17 TB/week) stay on SaaS until Edge hasjetbrains-download.