Commit 6bfbfb06 authored by Evan Read's avatar Evan Read

Merge branch 'tip-for-ansi-colors' into 'master'

Add tip about stripping ANSI color codes

Closes gitlab-runner#3559

See merge request gitlab-org/gitlab-ce!30701
parents aafa6a11 55ab098e
......@@ -89,6 +89,22 @@ in the jobs table.
A few examples of known coverage tools for a variety of languages can be found
in the pipelines settings page.
### Removing color codes
Some test coverage tools output with ANSI color codes that won't be
parsed correctly by the regular expression and will cause coverage
parsing to fail.
If your coverage tool doesn't provide an option to disable color
codes in the output, you can pipe the output of the coverage tool through a
small one line script that will strip the color codes off.
For example:
```bash
lein cloverage | perl -pe 's/\e\[?.*?[\@-~]//g'
```
## Visibility of pipelines
Access to pipelines and job details (including output of logs and artifacts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment