TFS 2015.3本地:Gulp步骤错误不会使构建失败 [英] TFS 2015.3 On-prem : Gulp step error does not fail the build

查看:86
本文介绍了TFS 2015.3本地:Gulp步骤错误不会使构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

这个Gulp错误应该在构建失败但是它继续:

this Gulp error should fail the build but it continues on:




推荐答案

嗨Dave S。

Hi Dave S.

感谢您在此发帖。

您的意思是 Gulp任务 失败但后续任务可以继续运行,或者只是与错误一起传递的Gulp任务? Gulp任务的状态是什么,是标记为失败还是通过?
  此外还有构建状态,失败或传递或部分成功?

Do you mean that the Gulp task failed but the subsequent tasks can continue running or just the Gulp task passed with the error? What is the state of the Gulp task, is it marked as fail or pass?  Also the state of the build, failed or pass or Partially succeeded?

通常,构建在执行时传递/失败构建定义中所有构建步骤的状态。

Normally, the build is passed/failed base on the execution status of all the build steps in the build definition.

如果Gulp任务失败而没有"继续出错"选中选项后,构建将在此步骤停止。后续任务将无法运行,构建将失败。

If the Gulp task is failed without "Continue on error" option checked, the build will stop at this step. The subsequent tasks will not run and the build will be failed.

但如果使用"始终运行"检查后续任务的选项,即使先前的步骤失败,它们也会一直运行。

But if with "Always run" option checked for the subsequent tasks, they will always run even though previous steps are failed.

因此,请先检查定义中的任务设置。

So, please check the tasks settings in the definition first.

最诚挚的问候。


这篇关于TFS 2015.3本地:Gulp步骤错误不会使构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆