在 azure build pipeline 开始执行之前是否有任何任务 运行

Is there any task that will run before azure build pipeline starts executing

在构建管道开始之前,是否有任何任务 运行 Azure 代理中的软件安装 运行ning

is there any tasks that will run software installation in Azure agent before build pipeline starts running

显然这是不可能的。在pipeline build 运行s 之前,Azure agent 没有分配,那么task 就不知道去哪里运行,也就失去了执行task 的载体。另外,在pipeline build 运行s之前,执行任务的wrench也会丢失。所以这是不可能的。

如果你想在构建管道开始 运行 之前在 Azure 代理中安装 运行 软件,你可以创建你的私人代理,然后你可以在代理中手动安装软件。因此,我们可以实现您的要求:

Self-hosted agents

此外,如果您只想在运行执行某些特定任务之前安装软件,则可以在您的特定任务之前添加安装软件的任务。