我正在尝试在 Azure DevOps Server(onprem) 中使用 azure-pipelines 的容器内运行我的构建。按照官方指南https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops-2019
我确实有一个安装了 ubuntu18.04 的自托管 linux 代理。
我的 azure-pipelines.yml
pool: linux-container-build
container: ubuntu:16.04
steps:
- script: whoami
容器初始化工作正常并正确创建容器。之后结帐步骤失败,没有太多信息。
管道图片:管道
结帐步骤只是这样做:
##[section]Starting: Checkout ***** to s
==============================================================================
Task : Get sources
Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version : 1.0.0
Author : Microsoft
Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
##[error]Collection was modified; enumeration operation may not execute.
##[section]Finishing: Checkout **** to s