SharePoint Continuous Integration With VSOnline & Azure #ESPC14

4,421 views

Published on

Presented at the European SharePoint Conference 2014 in Barcelona (08/05/2014)
Demos and Howtos will be available on my blog. See also http://www.matthiaseinig.de/2014/05/10/sessions-and-slides-from-the-espc14/

With the Cloud Services Azure and VSOnline professional SharePoint Development has never been easier. Having the infrastructure available on demand and only paying per use allows you to build complete production-like SharePoint farms in no time at minimal costs. TFS Online on the other hand provides everything you need to develop projects alone or in a team. SourceControl, WorkItems, TeamBuild, Automated Testing including the traceability of all of it and detailed reporting. Even better, with an MSDN subscription both VS Online and Azure is already included. This session explains the important bits about setting up your SharePoint farm(s) on Azure, using VSOnline to automatically build your SharePoint solution or app and what you need to automatically stage the build to your farm or SharePoint Online.

Presentation Benefits:
This session explains the important bits about setting up your SharePoint farm(s) on Azure, using VSOnline to automatically build your SharePoint Project and what you need to automatically stage the build to your farm.

You will:
Learn about how you set up continuous builds on VSOnline.
Hear how you use Azure to build your SharePoint staging farm.
See how everything can be connected to automatically deploy each build on the staging farm.

Published in: Technology

SharePoint Continuous Integration With VSOnline & Azure #ESPC14

  1. 1. SharePoint Continuous Integration with VSOnline & Azure Matthias Einig, MVP
  2. 2. Who is that guy? @spcaf www.spcaf.com @sp24conf www.sp24conf.com @spssthlm www.spsstockholm.com @mattein matthias.einig@rencore.se www.matthiaseinig.de Matthias Einig CEO, SharePoint MVP Stockholm, Sweden
  3. 3. Agenda • Continuous Integration/Delivery • VS Online & Azure • CD for Farm/Sandboxed Solutions • CD for Provider Hosted Apps • Release Management • Summary
  4. 4. Continuous what? Build centralized Check Quality Continuous Integration Code Quality Build centralized Check Quality Deploy Continuous Deployment Process Quality Build centralized Check Quality Deploy Test Continuous Delivery Functional Quality
  5. 5. Why? • Fail fast and early in the development process • Deliver smaller increments == less defects • Know exactly what is deployed • Reproducable • No dependency on specific people
  6. 6. Manual deployment != Fun
  7. 7. What should be included? Farm Solutions Apps Database schema Code WSP, App, Data, PowerShell Farm / Site settings Site Structure Feature Activations … Configuration Files, List Data Taxonomies Database Content … Content
  8. 8. Dev Challenges • Deployment of SharePoint VMs time consuming, resource and performance hungry • Multiple environments required (SP2010/2013, CUs/Service Packs, Websites, O365 tenants) • Deployment/Testing requires „clean“ production-like environment • VMs for different versions of the own solution(s) • Deployment process complicated and error-prone
  9. 9. The solution! Source Control Workitem Tracking Project Management Automated Build Test Management Analytics … Websites Virtual Machines Storage Databases Active Directory Networks …
  10. 10. Source Control Workitem Tracking Project Management Automated Build Test Management Analytics … Websites Virtual Machines Storage Databases Active Directory Networks …
  11. 11. Why Cloud? • Quick to set up • Scalable • Easy to tear down • No IT Pros involved • Included in MSDN subscription • Pay per use
  12. 12. CD for Farm/SB Solutions VSO QADEV DEV 
  13. 13. DEMO
  14. 14. CD for Provider Hosted Apps VSO DEV SPO Dev site Azure Dev site  SPO Prod site Azure Prod site
  15. 15. DEMO
  16. 16. CD for Farm/SB Solutions VSO QADEV DEV 
  17. 17. Release Management Server TFS QA DEV  RM PROD
  18. 18. Release Management 2013
  19. 19. Release Management 2013
  20. 20. Summary • Find problems earlier and save time & money • VS Online + Azure = perfect for SharePoint CD • Can be implemented in several steps • Deployment of Farm Solutions with PowerShell • Deployment of Apps with ootb VS Online It‘s worth it!
  21. 21. References • SharePoint/TFS Continuous Integration Starter Pack (Chris O’Brien) http://matte.in/SharePointCI • Continuous Integration for SharePoint (MSDN) http://matte.in/CI4SharePointMSDN • SharePoint Solution Deployer spsd.codeplex.com • SharePoint Code Analysis Framework spcaf.com • Configure a TFS Build Server for SharePoint Projects (MSDN) http://matte.in/TFSBuild4SP • Deploying Provider Hosted SharePoint Apps to Azure (Kirk Evans) http://matte.in/CDSPApp2Azure

×