-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Labels
Description
Is your feature request related to a problem? Please describe.
I would like to clone a repo I have access to
Describe the solution you'd like
parameters to support:
- src repo url
- clone to directory
- params to pass to git clone
Support for repo sources:
- github
- ADO
pre-requisites:
If git and GCM (>= GCM 2.1..2,) are not installed, install them first. We should check if PATH already contains git and GCM. If yes, but older versions: overwrite with supported git and gcm version.
setupTasks:
- task: clone-repository-on-login
inputs:
src: "repo-url"
cloneTo: "./path/"
additionalOptions: "--flag --key val"