Skip to content

BUILD-12123 Route Develocity plugin resolution through Repox - #332

Merged
hedinasr merged 2 commits into
masterfrom
fix/hnasr/BUILD-12123-develocityPluginRepox
Aug 4, 2026
Merged

BUILD-12123 Route Develocity plugin resolution through Repox#332
hedinasr merged 2 commits into
masterfrom
fix/hnasr/BUILD-12123-develocityPluginRepox

Conversation

@hedinasr

@hedinasr hedinasr commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

BUILD-12123 Route Develocity plugin resolution through Repox

Summary

  • When use-develocity: true, config-gradle now passes gradle-plugin-repository-url/username/password to setup-gradle, pointing at ${repox-url}/artifactory/plugins.gradle.org/ with the Artifactory reader credentials.
  • Fixes Develocity injection failing on plugins.gradle.org during the BUILD-10865 registry brownout (SSL/PKIX), as seen on sonarlint-intellij CI.
  • Pre-commit workflow now runs config-pip before gh-action_pre-commit so pip upgrades resolve via Repox instead of pypi.org.

Related: Slack thread, PREQ-7795

Test plan

  • Confirm config-gradle with use-develocity: true resolves develocity-gradle-plugin from Repox (no request to plugins.gradle.org)
  • Re-run / dogfood on a consumer such as sonarlint-intellij build that enables Develocity
  • Confirm builds with use-develocity: false are unchanged
  • Confirm pre-commit CI passes (pip upgrade via Repox)

Pass gradle-plugin-repository-* to setup-gradle so Develocity
injection does not hit plugins.gradle.org during registry brownouts.
Copilot AI review requested due to automatic review settings August 4, 2026 14:51
@hedinasr
hedinasr requested a review from a team as a code owner August 4, 2026 14:51
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Aug 4, 2026

Copy link
Copy Markdown

BUILD-12123

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Routes Develocity/CCUD Gradle plugin resolution through Repox when Develocity injection is enabled, avoiding direct access to plugins.gradle.org during registry brownouts and related TLS/PKIX failures.

Changes:

  • Pass gradle-plugin-repository-url/username/password to gradle/actions/setup-gradle when use-develocity: true.
  • Point plugin repository resolution at ${repox-url}/artifactory/plugins.gradle.org/ using the Artifactory reader credentials already provisioned by config-gradle.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Avoid pypi.org during setup-python pip upgrade in the brownout window.
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@hedinasr
hedinasr merged commit 1df8fda into master Aug 4, 2026
17 checks passed
@hedinasr
hedinasr deleted the fix/hnasr/BUILD-12123-develocityPluginRepox branch August 4, 2026 15:11
@gitar-bot

gitar-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Routes Develocity plugin resolution and pre-commit pip upgrades through Repox to bypass registry brownouts. No issues found.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants