Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 863
Richard Szalay Avatar asked Nov 16 '25 15:11

Richard Szalay


1 Answers

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

like image 106
Cece Dong - MSFT Avatar answered Nov 19 '25 10:11

Cece Dong - MSFT