Id 的任务定义的任务执行部分:.... 丢失或无效

Task execution section of task definition for Id : .... is either missing or not valid

我有一个包含两个连续任务的 Azure Pipelines 定义

  1. 运行 建造
  2. QA 工作的手动批准步骤(取决于构建)

azure-pipelines.yml中:

jobs:
- job: Build
  ...
- job: QualityAssurance
  pool: server

  dependsOn: Build
  steps:
  - task: ManualIntervention@8
    inputs:
      instructions: Instructions for quality assurance and approval are here

当 运行 管道时,我得到以下错误:

Task execution section of task definition for Id : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is either missing or not valid.

根据 ManualInterventionV8 的文档,没有必需的参数。

有什么想法是错误的吗?

构建管道中似乎尚不支持它。

来自https://developercommunity.visualstudio.com/content/problem/356708/cannot-use-manualintervention.html

According to this doc: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/manual-intervention?view=vsts#demands , Manual Intervention Task now cannot support in build pipeline, please change other task to replace it.