SOLVED

Azure Devops error-Some recent issues detected related to pipeline trigger

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3050215%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3EAzure%20Devops%20error-Some%20recent%20issues%20detected%20related%20to%20pipeline%20trigger%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3050215%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%3EI%20am%20getting%20below%20trigger%20error%20on%20all%20the%20pipelines%20to%20the%20repo-%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3ESome%20recent%20issues%20detected%20related%20to%20pipeline%20trigger.%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EThis%20issue%20comes%20even%20when%20we%20create%20new%20fresh%20pipeline%20and%20the%20error%20is%20pointing%20to%20the%20latest%20commit.%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3ECan%20anyone%20suggest%20any%20solutions%20for%20that.%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EWhen%20reattech%20ymal%20file%20or%20add%20default%20value%20in%20my%20yml%20file%20i%20am%20not%20getting%20error.%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EI%20dont%20want%20to%20provide%20default%20value%20in%20my%20ymal%20file%20and%20also%20it%20was%20working%20fine%20before.%20i%20am%20started%20getting%20this%20error%20from%20last%20week%20of%20december%2C%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E
Occasional Visitor

I am getting below trigger error on all the pipelines to the repo-

 

Some recent issues detected related to pipeline trigger.

This issue comes even when we create new fresh pipeline and the error is pointing to the latest commit.

Can anyone suggest any solutions for that.

 

When reattech ymal file or add default value in my yml file i am not getting error.

I dont want to provide default value in my ymal file and also it was working fine before. i am started getting this error from last week of december,

 

4 Replies
best response confirmed by f2calv (Microsoft)
Solution
Have seen this same error, too (Yaml pipeline).
Edit -> Settings and pointing the pipeline file to a different yaml, saving, then resaving back resolves the error for us.

I investigated [this SO post](https://stackoverflow.com/questions/67830236/new-pipeline-on-azure-devops-shows-error-message-some-r...) but this wasn't the issue. The branch for the trigger already existed correctly.
Chris, we noticed this as well (replacing the YAML file solves the issue). However, this seems like a bug in MSFT as this error started a few weeks ago without any changes from our end. Would you agree? Any luck getting a response from MSFT on this for a permanent RCA and FIX?

@chriskratochvil  Any solution have you found for the below issue. Even i am facing the same.

The reason you are getting the "Some recent issues detected related to pipeline trigger" is because your pipeline has the default CI triggers built in. Since you are in the wrong branch (I assume), and the default setup is to point to a "master" branch, Azure Devops is looking for the yaml in that branch and not finding it. To correct this, edit the pipeline, go to ...->triggers. Select the yaml tab and below you should see where the default source for manual and automatic runs is located. Select that and change the "Default branch for manual and scheduled builds" to your branch. Just remember, once you have merged your branch, to re-set this option.