Skip to content

cleanup output for gitlab writer - #2478

Merged
matthid merged 1 commit into
fsprojects:release/nextfrom
baronfel:gitlab-reporter-tweaks
Mar 6, 2020
Merged

matthid merged 1 commit into
fsprojects:release/nextfrom
baronfel:gitlab-reporter-tweaks

Conversation

@baronfel

@baronfel baronfel commented Mar 5, 2020

Copy link
Copy Markdown
Contributor
  • don't write ansi escape codes because gitlab does that now, and
  • sanitize the KnownTags descriptions to prevent line overlaps

Description

After #2477 I tested the output on my work builds and got output like:

[37;2msection_start:1583446351:target_Clean
\e[0K[0m
[37;2msection_start:1583446351:target_ReplaceTemplateFilesNamespace
\e[0K[0m
[0Ksection_start:1583446308:restore_cache
[0Ksection_end:1583446309:restore_cache
[0Ksection_start:1583446309:download_artifacts
[0Ksection_end:1583446311:download_artifacts
[0Ksection_start:1583446311:build_script

Problems I see:

  • newlines in the tag descriptions
  • ansi escape codes from the ansi color output writer

So I corrected both of these.

don't write ansi escape codes because they do that now, and sanitize the KnownTags descriptions to prevent line overlaps
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.

2 participants