Skip to content

Conversation

@tomasz-tylenda-sonarsource
Copy link
Contributor

@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource commented Jan 8, 2026

  • Configure Develocity to fix errors in logs and speed up the build.
  • Split test-analyze, it is a long step, which can block the pipeline.
  • Remove wrong config-maven parameters, they apply to build-maven, not config-maven.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title Use develocity in GHA build SONARJAVA-5946 Use develocity in GHA build Jan 8, 2026
@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Jan 8, 2026

SONARJAVA-5946

artifactory-reader-role: private-reader
artifactory-deployer-role: qa-deployer
use-develocity: true
develocity-url: https://develocity-public.sonar.build/

Choose a reason for hiding this comment

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

I think, it makes sense to use workflow variable here and in following usages. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean env block at the top-level? I just added it. I also thought of using & and * to repeat the entire config-maven step, but I'm not sure if I like this yaml feature.

Copy link
Contributor

Choose a reason for hiding this comment

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

I honestly prefer to avoid & and * features in most places. I feel like they hide the configuration and makes reading the pipeline harder.

If there is really a big duplication, it's ok.

Choose a reason for hiding this comment

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

Yep, I meant exactly this :) I think now it looks good, we don't need to add another generalization.

Choose a reason for hiding this comment

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

Oh, didn't know about '& and *' feature, looks really ugly. Agree with Gabriel.

@sonarqube-next
Copy link

sonarqube-next bot commented Jan 8, 2026

Copy link

@asya-vorobeva asya-vorobeva left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@GabrielFleischer GabrielFleischer left a comment

Choose a reason for hiding this comment

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

I wonder if it's possible to use build-maven instead of config-maven then build for the custom-rules-license-check job.

But I didn't find an easy way so I won't complain.

LGTM

@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource merged commit a214611 into master Jan 8, 2026
22 checks passed
@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource deleted the tt/develocity branch January 8, 2026 15:02
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