当构建步骤(获取源)失败时,TFS 2015构建(vNext)中断 [英] TFS 2015 build(vNext) broke when build step(Get Sources) failed

查看:84
本文介绍了当构建步骤(获取源)失败时,TFS 2015构建(vNext)中断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个TFS 2015版本,第一步是获取源代码,以下步骤id正在执行我们需要的东西。

We have a TFS 2015 build, and the first step is getting sources, and the following steps id doing stuff we need.

第一步(获取源代码)如果失败,即使我们设置了"始终运行"步骤,也无法执行以下步骤。

When the first step(Get Sources) failed, we cannot run the following steps even we set the step "Always run".

当"获取来源"时,我们想要的是什么?失败了,我们可以运行一些后续步骤。

What our want is when the "Get Sources" failed, we could run some following step.

那么如何制作? 

So how to make it? 

无法设置"获取来源"步骤"继续错误",但找不到要设置的位置。

Is't possible to set the "Get Sources" step "Continue with error", but cannot find the place to set.

推荐答案

嗨David_Guo3,

Hi David_Guo3,

感谢您在此发帖。

在我们构建解决方案之前,TFS需要先将源文件提供给构建代理,然后再构建这些文件。

Before we build a solution, TFS need to get the source files to the build agent first, then build those files.

这一步不容忽视。那么请你在错误日志上分享获取来源失败。

This step can't be ignored. So could you please share me the error log on get sources failed.


这篇关于当构建步骤(获取源)失败时,TFS 2015构建(vNext)中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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