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

ANSI sequence included in Azure Pipelines error result #2350

Closed
3 tasks done
fflaten opened this issue May 17, 2023 · 0 comments · Fixed by #2352
Closed
3 tasks done

ANSI sequence included in Azure Pipelines error result #2350

fflaten opened this issue May 17, 2023 · 0 comments · Fixed by #2352

Comments

@fflaten
Copy link
Collaborator

fflaten commented May 17, 2023

Checklist

What is the issue?

Failed tests are logged as errors in Azure Pipelines report using a special syntax. In the logged issue/error, the trailing ANSI-sequence to reset colors are displayed as characters.

image

Expected Behavior

No ANSI-characters visible in report

Steps To Reproduce

Run a failed test in Azure Pipeline. Both ANSI-output and the CIFormat-feature to log the issues is auto-enabled.

Describe your environment

No response

Possible Solution?

This is a rendering problem with Azure DevOps. We could workaround it by using -RenderMode ConsoleColor for error messages with AzureDevops CIFormat

GitHub workflow summary properly strips away the sequence chars.

@fflaten fflaten changed the title ANSI sequence included in Azure PIpelines error result ANSI sequence included in Azure Pipelines error result May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant