问题
I'm getting this on Azure CI when running Cypress in a docker container in a release pipeline. I'm guessing it could be because of some setting in Cypress, docker, NodeJS, or the CI itself.
![ ]1
I tried the NO_COLOR=1
Cypress option in the pipeline, but it didn't seem to have an effect.
回答1:
The environment variables set in the pipeline will not be active inside the Docker container. The Docker container has its own set of environment variables. I believe you will be able to resolve your problem by adding
ENV NO_COLOR=1
in the Dockerfile
来源:https://stackoverflow.com/questions/58920377/how-do-i-fix-console-log-encoding-issues-on-azure-ci