Forum Discussion

Tony73's avatar
Tony73
Copper Contributor
Feb 07, 2024

Azure Devops Pipelines checkout only the repo that triggered the job.

Scenario:

- You have a separate repository for all your ado pipelines.

- The Code repos don't contain any pipeline yml files. (Only the above repo)

 

When a change from a code repo triggers a pipeline execution in your pipeline repo. It doesn't automatically checkout the triggering repo. WTF MS!

 

The checkout step will only allow self, none and a repo name from a repositories section.

Self will checkout the template repo and not the repo that triggered the job.

ADO truly is the most stupid build system in existence.

 

How is that you cannot simply checkout the repo that triggered your pipeline job?

You have all the information available, but you can't supply a variable to the checkout step.

 

I hate Azure Devops!

Resources