-
Notifications
You must be signed in to change notification settings - Fork 713
SONARJAVA-5946 Use develocity in GHA build #5386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
.github/workflows/build.yml
Outdated
| artifactory-reader-role: private-reader | ||
| artifactory-deployer-role: qa-deployer | ||
| use-develocity: true | ||
| develocity-url: https://develocity-public.sonar.build/ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
|
asya-vorobeva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
GabrielFleischer
left a comment
There was a problem hiding this 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





test-analyze, it is a long step, which can block the pipeline.