Skip to content

BUILD-8643 Improve build-gradle action#19

Merged
mikolaj-matuszny-ext-sonarsource merged 3 commits intomasterfrom
feat/mmatuszn/BUILD-8643
Jul 28, 2025
Merged

BUILD-8643 Improve build-gradle action#19
mikolaj-matuszny-ext-sonarsource merged 3 commits intomasterfrom
feat/mmatuszn/BUILD-8643

Conversation

@mikolaj-matuszny-ext-sonarsource
Copy link
Copy Markdown
Contributor

@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource commented Jul 25, 2025

• Added public parameter that auto-detects repository visibility and configures appropriate deployment settings
• Replaced hardcoded Artifactory credentials with role-based authentication using configurable reader/deployer roles
• Added sonar-platform parameter to support next/sqc-eu/sqc-us SonarQube instances with dynamic Vault path resolution
• Changed deploy-pull-request default from false to true
• Added .DS_Store to gitignore for macOS compatibility

@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource requested a review from a team July 25, 2025 12:03
@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource force-pushed the feat/mmatuszn/BUILD-8643 branch 2 times, most recently from d4c3041 to f6a6dc8 Compare July 25, 2025 12:37
Comment thread build-gradle/action.yml Outdated
@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource force-pushed the feat/mmatuszn/BUILD-8643 branch 2 times, most recently from c82bc2b to e89bb4d Compare July 28, 2025 10:45
@hedinasr
Copy link
Copy Markdown
Contributor

@mikolaj-matuszny-ext-sonarsource Since we are changing some parameters, will this break all the workflows based on this action@master ?

@mikolaj-matuszny-ext-sonarsource
Copy link
Copy Markdown
Contributor Author

Yes it could, but based on the discussion it's not a concern before releasing v1

@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource merged commit 35ae675 into master Jul 28, 2025
8 checks passed
@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource deleted the feat/mmatuszn/BUILD-8643 branch July 28, 2025 14:30
@sonarqubecloud
Copy link
Copy Markdown

🤖 Pull Request summary

Updates Gradle build action to support multi-platform SonarQube and role-based Artifactory authentication.

• Adds public parameter that auto-detects repository visibility to configure build settings
• Replaces hardcoded Artifactory credentials with role-based authentication using reader/deployer roles
• Introduces sonar-platform parameter supporting next, sqc-eu, and sqc-us platforms
• Updates Vault integration to fetch platform-specific SonarQube credentials and Artifactory tokens
• Changes default deploy-pull-request setting from false to true

💬 Please send your feedback

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

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.

2 participants