简体   繁体   English

如何使用VSTS生成定义中的一项任务来生成所有Azure WebJob?

[英]How do I build all Azure WebJobs with one task in the VSTS build definition?

My team currently has a build definition in VSTS that handles our continuous build process. 我的团队目前在VSTS中有一个构建定义,可以处理我们的连续构建过程。

The application is running on .NET Core 1.1.1. 该应用程序在.NET Core 1.1.1上运行。

After additional features have been added, the number of WebJobs have increased. 添加其他功能后,WebJob的数量增加了。 Our current build definition requires a separate task to handle every WebJob. 我们当前的构建定义需要一个单独的任务来处理每个WebJob。

Is there any way to create a single task to hold all our WebJobs? 有什么方法可以创建一个任务来容纳我们所有的Web作业?

The image shows our current build tasks in VSTS. 该图显示了我们在VSTS中当前的构建任务。

VSTS的构建定义

The settings for the individual WebJob task is seen here: 单个WebJob任务的设置如下所示:

任务设定

You can do it programming (eg PowerShell), then just add PowerShell task for webjobs. 您可以进行编程(例如PowerShell),然后为webjobs添加PowerShell任务。

On the other hand, you may custom build task to do it programmatically. 另一方面,您可以自定义构建任务以编程方式进行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM