-
Notifications
You must be signed in to change notification settings - Fork 593
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
feat(build): add buildSettingsInfo for gradleExecuteBuild #5043
Conversation
/it-go |
this needs to be changed, should be |
and just a comment, up to you if you want to change It as well: |
Co-authored-by: Tilo Körner <[email protected]>
} | ||
buildSettingsInfo, err := buildsettings.CreateBuildSettingsInfo(&gradleConfig, stepNameForBuildSettings) | ||
if err != nil { | ||
log.Entry().Warnf("failed to create build settings info: %v", err) |
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.
Why do we fail above, but not here?
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.
the buildSettings info gathering can fail, but that must fail the step, its a compliance information fetch fail, but i am not sure if the entire step should fail for that reason ?
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.
It works the same way across all build steps.
If we have a warning instead of err, in case the method above fails, dockerImage in build-settings will be an empty string, but in fact gradle image is used.
It is compliance information, not sure if having wrong docker image info is ok.
/it-go |
1 similar comment
/it-go |
6941063
to
63df010
Compare
Quality Gate passedIssues Measures |
/it-go |
Changes
build settings metadata extension for the gradle build step