Richard Szalay
Richard Szalay

Reputation: 84724

Clone external git repository in release plan

We version our deployment configuration/scripts separately to our application, but haven't moved them across to VSTS. I know that Build Plans can pull in external git repositories, but the option doesn't appear to be there for linked artifacts in Release Plans. There also doesn't appear to be a "Clone Git Repository" task.

Any thoughts on what my choices might be?

Upvotes: 3

Views: 503

Answers (1)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31003

There should have two options to achieve your requirement:

  1. Create a Build Definition and use external git repositories in it, then link the Build Definition in Release Definition:

enter image description here

  1. Although there is no "Clone Git Repository" task, you can use a Command Line task to call git clone command:

enter image description here

Upvotes: 1

Related Questions