Sync-VSTSGit

1.1

Integrate Azure Automation with Visual Studio Team Services Git source control
This Azure Automation runbook syncs runbook and configurations from VSTS Git source control. It requires that a
service hook be set up in VSTS to trigger this runbook when changes are made. It can also be run without a
service hook to force a synce of everything from VSTS folder.
It requires that you have the RunAs account configured in the automation service.

This Azure Automation runbook syncs runbook and configurations from VSTS Git source control. It requires that a
service hook be set up in VSTS to trigger this runbook when changes are made. It can also be run without a
service hook to force a synce of everything from VSTS folder.
It requires that you have the RunAs account configured in the automation service.

This enables continous integration with VSTS Git source control and an automation account.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Sync-VSTSGit

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Azure Automation Team

Owners

Tags

Azure Automation Visual Studio Team Services Git Source Control

Functions

Get-TFSBasicAuthHeader Invoke-TFSGetRestMethod Invoke-TFSPostRestMethod Get-TFSGitFolderItem Get-TFSGitFile Get-TFSGitChangeSet Get-TFSGitRepo SetBasicAuthHeader Set-ConnectionValues GetAPIVersion

Dependencies

This script has no dependencies.

Release Notes

Fixed getting commit version from source control due to a change on how data was returned from VSTS git.

Version History

Version Downloads Last updated
1.1 (current version) 206 1/28/2018
1.0 135 1/26/2017