Azure Pipeline to trigger Pipeline using YAML

后端 未结 4 1280
遇见更好的自我
遇见更好的自我 2021-02-05 07:12

Attempting to trigger an Azure pipeline when another pipeline has been completed using a YAML. There\'s documentation indicating that you can add a pipeline resource with:

4条回答
  •  眼角桃花
    2021-02-05 07:39

    If you're not publishing an artifact from the triggering pipeline, it won't trigger the triggered pipeline.

    Also, if the defaultBranch for manual and scheduled builds in the triggered pipeline is not the same as your working branch, the triggered pipeline won't kick in at the end of the triggering pipeline execution.

    I have created a minimum viable product for a pipeline trigger, and I explain better the two issues I just mentioned in this answer.

提交回复
热议问题