有没有办法更改发布管道日志的字体颜色

Pre*_*man 3 azure-devops azure-pipelines azure-pipelines-release-pipeline

在 Azure Devops 发布管道日志中,是否有选项可以将字体文本颜色更改为红色以表示例外。

JEu*_*vin 5

这是改变颜色的方法。

      echo "##[group]Beginning of a group"
      echo "##[warning]Warning message"
      echo "##[error]Error message"
      echo "##[section]Start of a section"
      echo "##[debug]Debug text"
      echo "##[command]Command-line being run"
      echo "##[endgroup]"
Run Code Online (Sandbox Code Playgroud)