【问题标题】:Task execution section of task definition for Id : .... is either missing or not validId 的任务定义的任务执行部分: .... 丢失或无效
【发布时间】:2018-09-26 12:09:20
【问题描述】:

我有一个包含两个连续任务的 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 的文档,没有必需的参数。

有什么想法可能是错的吗?

【问题讨论】:

  • 遇到同样的问题。 @jsalonen,你找到解决方案了吗?

标签: azure-pipelines azure-pipelines-build-task


【解决方案1】:

看起来它在构建管道中尚不受支持。

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

根据此文档:https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/manual-intervention?view=vsts#demands,手动干预任务现在无法在构建管道中支持,请更改其他任务以替换它。

【讨论】:

    猜你喜欢
    • 2020-03-07
    • 1970-01-01
    • 1970-01-01
    • 2021-02-10
    • 2015-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-21
    相关资源
    最近更新 更多