Checkout Repository in Azure Pipeline

Baharul Islam 216 Reputation points
2022-05-26T09:58:13.453+00:00

Hi Expert ,

I am trying to checkout repository in Azure pipeline which is different then self repo but in same Organization. Here repository name and project name will be passed as input parameter .

I have tried by following example in https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops but not able to pass with parameter.

I have tried with syntex as below, but not get success.

resources:  
  repositories:  
  - repository: MyAzureReposGitRepository  
    type: git  
    name: $(project)/$(repo)  
    ref: $(branch)  

Please help if you have any other way to make it success.

Thanls!

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,929 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 11,551 Reputation points
    2022-05-26T12:35:45.6+00:00

    @Baharul Islam - Welcome to Microsoft Q&A and thanks for reaching out.

    Devops is not currently supported here on Microsoft QnA.
    The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum:
    https://developercommunity.visualstudio.com/spaces/21/index.html
    https://azure.microsoft.com/en-in/support/devops/

    Hope this helps. and please feel free to reach out if you have any further questions.

    ------------------------------------------------------------------

    If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.