我有一个棱角分明的项目,我正试图通过Azure DevOps构建。当我在库项目上运行ng构建时,有一些警告
示例( D:\Agent_work\1\s\Test\projects\test-library\src\components\test.component.css:4:5:启动值具有混合支持,请考虑使用flex)。
因此,构建步骤失败。此步骤的命令是"ng构建测试库“。
TFS中是否存在忽略这些警告的方法或ng构建的设置?
发布于 2020-09-08 23:06:57
请将continueOnError添加到任务中:
- task: string # reference to a task and version, e.g. "VSBuild@1"
condition: expression # see below
continueOnError: boolean # 'true' if future steps should run even if this step fails; defaults to 'false'
enabled: boolean # whether or not to run this step; defaults to 'true'
timeoutInMinutes: number # how long to wait before timing out the task
target: string # 'host' or the name of a container resource to target或者在这里,如果您使用经典的管道:

发布于 2020-09-11 07:57:06
https://stackoverflow.com/questions/63800726
复制相似问题