Skip to content
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

Provide a summary of error messages in pipeline builds #472

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

dennis-behm
Copy link
Member

In case of a failed build step that updates the build result via the buildUtils.updateBuildResult method, a new summary section is introduced as part of the finalisation of the build process:

This should make it more convenient to have these messages at a glance.

...
***************** Finalization of the build process *****************
...
** Updating build result BuildGroup:MortgageApplication-feature/470-errrorsummary BuildLabel:build.20240213.131754.983
** Build ended at Tue Feb 13 13:18:03 GMT+01:00 2024
** Build State : ERROR
** Total files processed : 5
** Summary of error messages
   *! The build return code (8) for MortgageApplication/bms/epsmort.bms exceeded the maximum return code allowed (0)
   *! The compile return code (12) for MortgageApplication/cobol/epscmort.cbl exceeded the maximum return code allowed (4)
   *! The compile return code (12) for MortgageApplication/cobol/epscsmrt.cbl exceeded the maximum return code allowed (4)
   *! The compile return code (12) for MortgageApplication/cobol/epsmlist.cbl exceeded the maximum return code allowed (4)

Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
@dennis-behm dennis-behm linked an issue Feb 13, 2024 that may be closed by this pull request
Copy link
Collaborator

@M-DLB M-DLB left a comment

Choose a reason for hiding this comment

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

@dennis-behm - Looks good, thank you!

@dennis-behm dennis-behm merged commit f4e4c9b into IBM:develop Feb 14, 2024
1 check passed
@dennis-behm dennis-behm deleted the feature/470-errrorsummary branch February 14, 2024 08:30
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.

Displaying a summary of build errors in build summary
2 participants