BUILD-8714 authenticate Gradle with Repox#67
BUILD-8714 authenticate Gradle with Repox#67julien-carsique-sonarsource merged 1 commit intomasterfrom
Conversation
8177080 to
c6d5085
Compare
c6d5085 to
a2fe68d
Compare
🤖 Pull Request summaryUpdates GitHub Actions versions and Gradle build authentication configuration. • GitHub Actions version bump: Updated Review focus: The new Gradle authentication script (
|



BUILD-8714
Authenticate Gradle with Repox, using
ARTIFACTORY_ACCESS_TOKENenvironment variable.The
repoxAuth.init.gradle.ktsfile is the same init script which can be used locally by developers.There is a fallback to the legacy variables for backward compliance.
The build-gradle action sets the following environment variables:
ARTIFACTORY_USERNAME: unused; present for eventual backward complianceARTIFACTORY_ACCESS_TOKEN: token used to authenticate for buildARTIFACTORY_PASSWORD: backward compliance; this is used by some client Gradle projectsARTIFACTORY_DEPLOY_ACCESS_TOKEN: token used to deploy artifacts, this is configured in the client Gradle projectsARTIFACTORY_DEPLOY_PASSWORD: backward compliance; this is used by some client Gradle projectsThe Gradle problem reports file is archived when present.
See https://github.com/SonarSource/sonar-dummy-gradle-oss/actions/runs/17240749748/artifacts/3854078587
Fixed SQ URL output for info.
Slightly simplified code and tests.
Tested by SonarSource/sonar-dummy-gradle-oss#275