Reputation: 12434
I have a build pipeline (which pulls from our VSTS repos) but I would like to pull from another VSTS repo during the pipeline, based on environment parameters.
Is this possible? If so, which step should I use?
I know NPM can be used to pull from a repo, but I feel that using NPM to do something which VSTS can (and will already have done during the pipeline execution) is overkill.
There does not appear to be a build step with a name akin to "git pull" or "azure repo ..."
Upvotes: 0
Views: 43
Reputation: 41775
You can just use the Command Line task and use all git
commands (clone/pull):
Or install an extension from the marketplace that do the same thing, for example - Git Repository Downloader:
Upvotes: 1