Is it able to ignore/disable the first step Get source in vNext Build?

喜你入骨 提交于 2019-11-26 22:47:09

It's not able to directly disable/remove the Get Sources task. However, you could add a variable to achieve it:

Build.SyncSources = false

You can see from below screenshot, the Get Sources operation started and finished without fetching the data from TFS version control

Note: This variable works with TFS 2017 and above/VSTS vNext builds.

More detail info please take a look at this helpful blog.

I tried using agent.source.skip = true (instead of Build.SyncSources = false),

and it seems to keep the variables.

Found here: https://github.com/Microsoft/azure-pipelines-agent/issues/1465

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!