Skip to content

Instantly share code, notes, and snippets.

@sweeneyrobb
Created September 4, 2014 19:47
Show Gist options
  • Save sweeneyrobb/06a2328efec6990e9ca3 to your computer and use it in GitHub Desktop.
Save sweeneyrobb/06a2328efec6990e9ca3 to your computer and use it in GitHub Desktop.
Installs Chocolatey, MSBuild tools, Java runtimes (req for TC), Team City build agent, and SharePoint pre-requisites.
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
choco install microsoft-build-tools
choco install javaruntime
choco install TeamCityAgent -params 'serverurl=http://{teamcityurl}:8080 agentName=Agent1 agentDir=C:\\TeamCity\\buildAgent'
# installs sharepoint build dependancies. Review https://officesharepointci.codeplex.com/ for more information.
# should convert this to a chocolatey package too :)
.\OfficeSharePointCI\TfsBuildServerPrerequisites.ps1 -Install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment