Ron*_* R. 7 azure azure-devops azure-pipelines
我正在使用 azure_pipeline.yaml 配置设置 Github 项目的分支。这似乎对社区中的其他人都适用,但是当我设置管道时,它给了我以下异常:
A task is missing. The pipeline references a task called 'Cache'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 2, job 'compile_ci_build', step ''.)
A task is missing. The pipeline references a task called 'Cache'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 2, job 'test_ci_build', step ''.)
A task is missing. The pipeline references a task called 'Cache'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 2, job 'e2e_ci_build', step ''.)
Run Code Online (Sandbox Code Playgroud)
具体来说,
这是我的Azure 管道链接
azure-pipeline.yml仓库中已经有一个tools/azure-pipelines/jobs-template.yml[更新]
我修改了jobs-templates.yml并注释掉了所有步骤Cache@2,它运行良好。
最终能够让这个工作。
显然是为了我的 Azure 帐户。我不允许使用Cache@2. 更改所有行
- task: Cache@2
Run Code Online (Sandbox Code Playgroud)
到
- task: CacheBeta@1
Run Code Online (Sandbox Code Playgroud)
解决了我所有的问题。
| 归档时间: |
|
| 查看次数: |
19625 次 |
| 最近记录: |