Use DEVELOCITY_ACCESS_KEY instead of the legacy GRADLE_ENTERPRISE_ACCESS_KEY - #3
Merged
blindpirate merged 1 commit intoAug 27, 2026
Conversation
…ESS_KEY Incident 5531 / CVE-2026-65400 credential cleanup. Renames the three env.GRADLE_ENTERPRISE_ACCESS_KEY definitions to env.DEVELOCITY_ACCESS_KEY, and drops two dangling env.DEVELOCITY_ACCESS_KEY definitions that point at %develocity-staging.eclipse.org.access.key%, a TeamCity parameter that was deleted on 2026-08-19.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Origin
Incident 5531 / CVE-2026-65400 credential cleanup — tracker row 134,
env.GRADLE_ENTERPRISE_ACCESS_KEY.GRADLE_ENTERPRISE_ACCESS_KEYis the legacy name forDEVELOCITY_ACCESS_KEY. Across builds.gradle.org it is defined at 214 sites; 33,513 of the 33,728 build configurations that resolve it also resolveDEVELOCITY_ACCESS_KEY, so the legacy name can simply be deleted almost everywhere. Buildship is the exception: it is the only non-archived project whereGRADLE_ENTERPRISE_ACCESS_KEYis the sole build-scan credential, covering 146 configurations (136 underPromotions, 10 underCheckpoints). Deleting it here without a replacement would silently stop scan authentication, so this repo needs a rename rather than a removal.Changes
1. Rename the three legacy definitions (
Project.kt209, 335, 430 —PromotionBuildType,SinglePromotionBuildType, and the rootProjectobject):The value needs no change.
ge.gradle.org.access.keyis defined on_Rootand its TeamCity label isge.gradle.org=ae4p*, i.e. the value already carries theserver-host=prefix thatDEVELOCITY_ACCESS_KEYrequires. (Contrast the siblingge.gradle.org.access.key.without.domain, whose label isae4p*.) This matters because a malformed value fails the build outright withFailed to parse DEVELOCITY_ACCESS_KEY environment variable: value is malformed, which is whatEnterprise_Main_Component_BuildScansMischit earlier in this same rotation.2. Drop two dangling definitions (
Project.kt140, 273 —IndividualScenarioBuildTypeandTagBuildType):- param("env.DEVELOCITY_ACCESS_KEY", "%develocity-staging.eclipse.org.access.key%")develocity-staging.eclipse.org.access.keywas deleted from TeamCity on 2026-08-19 (tracker row 107, after @donat confirmed "develocity-staging is no longer operational… Buildship does not use it"). The references were never cleaned up, so those configurations currently carry an unresolvableDEVELOCITY_ACCESS_KEY, e.g.They are only still publishing scans because the working legacy variable is masking the broken one. Removing these two lines lets them inherit the project-level
DEVELOCITY_ACCESS_KEYfrom change 1 — and without it, change 1 alone would be a regression, because the build-configuration-level dangling value would override the good project-level one.Risk
Settings-only; no product code. This project sets
teamcity.ui.settings.readOnly = true, so this branch is the only way to make the change. After merge,Tooling_Buildshipand all 146 affected configurations should resolveenv.DEVELOCITY_ACCESS_KEYto%ge.gradle.org.access.key%andenv.GRADLE_ENTERPRISE_ACCESS_KEYshould be gone from the subtree.