Trigger another build exist in project in Azure Devops

后端 未结 4 2025
暖寄归人
暖寄归人 2021-01-28 13:52

I have a repo name called A with its build pipeline as azure-pipelines.yml Then I have another repo called B with its build pipeline as

4条回答
  •  伪装坚强ぢ
    2021-01-28 14:32

    The error message looks like it's telling you it cannot find a pipeline with the name you specified, probably because, name means refers to the build numbering format in pipeline YAML e.g.

    name: $(BuildID)
    

    As @Roderick noted, the name of the pipeline should be what you see in the UI. From the main "Azure Pipelines" screen in your project. First click the "three dots" to get a submenu and then click "Rename/move". Example screenshot:

    So now you should have the project name and pipeline names you need to update your YAML in pipeline B and it should work.

提交回复
热议问题