Skip to content

Publish to Artifactory with a Bearer token - #421

Merged
cobexer merged 1 commit into
masterfrom
bo/artifactory-publish-token
Sep 4, 2026
Merged

cobexer merged 1 commit into
masterfrom
bo/artifactory-publish-token

Conversation

@blindpirate

Copy link
Copy Markdown
Member

Summary

  • Replace publishUserName / publishApiKey with a single publishToken.
  • Authenticate publish and release-repo resolution with Authorization: Bearer.

Depends on https://github.com/gradle/develocity-artifactory/pull/344. Do not merge until that token is applied and copied into the TeamCity Root param gradle.internal.repository.build-tool.publish.token.

Test plan

  • TeamCity Root has gradle.internal.repository.build-tool.publish.token set
  • A snapshot publish job uploads to libs-snapshots-local
  • Manual publish with -PpublishToken= still works

@blindpirate
blindpirate requested review from a team as code owners September 4, 2026 02:17
@blindpirate blindpirate self-assigned this Sep 4, 2026
@cobexer
cobexer marked this pull request as draft September 4, 2026 14:40
@cobexer
cobexer force-pushed the bo/artifactory-publish-token branch from 6083abd to 2bd470d Compare September 4, 2026 15:53
@cobexer
cobexer requested a review from mlopatkin September 4, 2026 15:54
@cobexer
cobexer marked this pull request as ready for review September 4, 2026 15:54
@cobexer
cobexer merged commit 7756c96 into master Sep 4, 2026
8 of 17 checks passed
@cobexer
cobexer deleted the bo/artifactory-publish-token branch September 4, 2026 15:54
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