Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
Pascal Berger edited this page Dec 20, 2015 · 1 revision

This Visual Studio Team Services extension provides additional tasks which help to interact with Git repositories in Team Foundation Build 2015. For a general introduction to Team Foundation Build 2015 see this documentation.

Enabling access to remote repository on VSTS

Certain operations require access to the remote repository on Visual Studio Team Services from during a build. Using the Enable Git Remote Access task the remote of the Git repository on the agent is updated to allow access to the upstream repository on Visual Studio Team Services.

After running the operations requiring access to the remote repository the remote should be restored to its default value using the Restore Git Remote task.

Please note that these tasks require the Allow Scripts to Access OAuth Token option in the build definition options to be set.

Clone this wiki locally