Vyas Bharghava
Vyas Bharghava

Reputation: 6510

Building a Public GitHub Repository using Azure DevOps

How do I build a Public GitHub repository using Azure DevOps as part of my Build Pipeline? For example, I use an Open Source toolkit such as SonarQube I'd like the SonarQube deployed using Continuous Integration - ideally - so my development team always has the latest server.

Looks like I have to fork the repository and provide the repo access to Azure Pipeline. Azure DevOps only lists my own repositories - hence the fork - and since I have admin access to them - I'm able to provide access to Azure Pipeline.

Is there a way to do this with only a "read" access?

Upvotes: 3

Views: 850

Answers (2)

GaTechThomas
GaTechThomas

Reputation: 6123

I was able to clone it directly via command prompt:

- script: |
    git clone https://github.com/someorg/some-repo.git

Upvotes: 0

Janusz Nowak
Janusz Nowak

Reputation: 2846

You can create public project in Azure DevOps or use GitHub integration https://github.com/marketplace/azure-pipelines to use azure-pipelines with is the best option for you case. Or directly in azure pipelines definition select GitHub or external git repository.

Upvotes: 1

Related Questions