sharepoint continuous integration with vs online and azure - matthias einig
DESCRIPTION
With the Cloud Services Azure and VS Online 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. VS 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 will show you how to – use VS Online to automatically build your SharePoint solutions and apps – automatically deploy your SharePoint solutions to the staging farm with VS Online – automatically deploy your Provider Hosted Apps to SharePoint Online and Azure.TRANSCRIPT
![Page 1: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/1.jpg)
SharePoint Continuous Integration
with VS Online and Azure
Matthias Einig, MVPRENCORE AB
![Page 2: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/2.jpg)
![Page 3: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/3.jpg)
Who is that guy?
www.matthiaseinig.de
Matthias EinigCEO, SharePoint MVP
Stockholm, Sweden
![Page 4: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/4.jpg)
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
![Page 5: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/5.jpg)
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
![Page 6: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/6.jpg)
Manual deployment
!=
Fun
![Page 7: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/7.jpg)
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
![Page 8: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/8.jpg)
Dev Challenges•Deployment of 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
![Page 9: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/9.jpg)
The solution!
Source Control
Workitem Tracking
Project Management
Automated Build
Test Management
Analytics
…
Websites
Virtual Machines
Storage
Databases
Active Directory
Networks
…
![Page 10: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/10.jpg)
Source Control
Workitem Tracking
Project Management
Automated Build
Test Management
Analytics
…
Websites
Virtual Machines
Storage
Databases
Active Directory
Networks
…
![Page 11: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/11.jpg)
Why Cloud?
•Quick to set up
•Scalable
•Easy to tear down
•No IT Pros involved
• Included in MSDN subscription
•Pay per use
![Page 12: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/12.jpg)
CD for Farm/SB Solutions
VSO
QADEV
DEV
![Page 13: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/13.jpg)
CD FOR FARM/SB SOLUTIONS
![Page 14: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/14.jpg)
![Page 15: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/15.jpg)
![Page 16: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/16.jpg)
![Page 17: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/17.jpg)
![Page 18: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/18.jpg)
CD for Provider Hosted Apps
VSO
DEV
SPODev site
AzureDev site
SPOProd site
AzureProd site
![Page 19: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/19.jpg)
CD FOR PROVIDER HOSTED APPS
![Page 20: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/20.jpg)
CD for Farm/SB Solutions
VSO
QADEV
DEV
![Page 21: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/21.jpg)
Release Management Server
TFS
QA
DEV
RM
PROD
![Page 22: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/22.jpg)
Release Management 2013
![Page 23: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/23.jpg)
Release Management 2013
![Page 24: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/24.jpg)
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!
![Page 25: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/25.jpg)
References• SharePoint Solution Deployer
spsd.codeplex.com
• SharePoint Code Analysis Frameworkspcaf.com
• SharePoint/TFS Continuous Integration Starter Pack (Chris O’Brien)matte.in/SharePointCI
• Continuous Integration for SharePoint (MSDN)matte.in/CI4SharePointMSDN
• Configure a TFS Build Server for SharePoint Projects (MSDN)matte.in/TFSBuild4SP
• Deploying Provider Hosted SharePoint Apps to Azure (Kirk Evans)matte.in/CDSPApp2Azure
![Page 26: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/26.jpg)
questions?
WWW.MATTHIASEINIG.DE
@MATTEIN
![Page 27: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig](https://reader033.vdocuments.us/reader033/viewer/2022060112/556c56ddd8b42acc228b497c/html5/thumbnails/27.jpg)
thank you.
SHAREPOINT AND PROJECT CONFERENCE ADRIATICS
ZAGREB, 10/15/2014 - 10/16/2014