Some people have been asking for the source code to some of the VSTS agent tasks that I use in my demos. I posted them to github (https://github.com/abelsquidhead/VSTSTasks). In the repo are the power shell VSTS agent tasks that I use in my demos:
- ConfigTokenizer – Assuming there is a .token file right next to the config file, this powershell tasks will swap out configuration tokens in configuration files
- SwapWebSlot – This task will swap two web deployment slots
- dacpacDeployTask – This task will deploy a database schema using a dacpac
All these tasks are demo quality tasks. They are not production level bullet proof tasks. I just whipped them out super quick to get my demos working. They will however, get you started!