cpisciotta / xcbeautify

A little beautifier tool for xcodebuild
MIT License
915 stars 62 forks source link

Teamcity renderer #242

Closed dimones closed 2 months ago

dimones commented 6 months ago

Added renderer for TeamCity CI. It improves showing warnings and errors.

The main reason is showing developers compilation errors on build page instead of searching error from the very long output log.

I’ve copied the TerminalRenderer, because this renderer is good and shows information very well. Just added additional strings to logs according to the TeamCity documentation to show compilation errors and highlight warnings

Before: image

After: image

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 20 lines in your changes are missing coverage. Please review.

Project coverage is 77.95%. Comparing base (ee599a9) to head (1338ecb).

Files Patch % Lines
...ces/XcbeautifyLib/Renderers/TeamCityRenderer.swift 83.05% 20 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #242 +/- ## ========================================== - Coverage 86.08% 77.95% -8.13% ========================================== Files 14 15 +1 Lines 1545 1665 +120 ========================================== - Hits 1330 1298 -32 - Misses 215 367 +152 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

cpisciotta commented 2 months ago

@dimones I just published 2.2.0 which includes the TeamCity renderer. Thanks again, and let me know if there's any other way that I can help!