rjacobsen0
rjacobsen0

Reputation: 1445

New pipeline on Azure DevOps shows error message "Some recent issues detected related to pipeline trigger."

I created a brand new CI/CD pipeline in Azure DevOps using a yaml file that is working in another pipeline, no problem. I set its default branch to cloud-main, not master as is the suggestion. The new pipeline gives me the message "Some recent issues detected related to pipeline trigger." Running the pipeline works fine. How do I get rid of the error message?

Upvotes: 22

Views: 14201

Answers (2)

misanthrop
misanthrop

Reputation: 939

As stated here:

https://developercommunity.visualstudio.com/t/Some-recent-issues-detected-related-to-p/1620293

this was a bug in a previous version of devops.

I was able to solve it on our devops version (which does not yet run the version with the fix) by simply updating the yaml file with a comment. I had this idea from this post:

https://developercommunity.visualstudio.com/t/Some-recent-issues-detected-related-to-p/1620293#T-N1630570

Upvotes: 0

rjacobsen0
rjacobsen0

Reputation: 1445

To fix this and remove the error I went to

  • Edit the pipeline >
  • ... (menu shown by three dots in upper right corner) >
  • Triggers >
  • YAML (tab across the top of the page) >
  • click list item 'Get sources' >
  • On the right panel there's a dropdown menu full of git branches under the label 'Default branch for manual and scheduled builds' that was on 'master', I changed it to cloud-main. cloud-main is the branch I want to be default. That's also the branch I chose earlier when making the pipeline.

Strange that I have to drill down into this setting to change it. Hope my experience helps someone else who is getting this same error.

Upvotes: 51

Related Questions