View
156
Download
0
Category
Preview:
Citation preview
SharePoint Continuous Integration
with VS Online and Azure
Matthias Einig, MVPRENCORE AB
Who is that guy?
matthias.einig@rencore.se
www.matthiaseinig.de
Matthias EinigCEO, SharePoint MVP
Stockholm, Sweden
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
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
Manual deployment
!=
Fun
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
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
The solution!
Source Control
Workitem Tracking
Project Management
Automated Build
Test Management
Analytics
…
Websites
Virtual Machines
Storage
Databases
Active Directory
Networks
…
Source Control
Workitem Tracking
Project Management
Automated Build
Test Management
Analytics
…
Websites
Virtual Machines
Storage
Databases
Active Directory
Networks
…
Why Cloud?
•Quick to set up
•Scalable
•Easy to tear down
•No IT Pros involved
• Included in MSDN subscription
•Pay per use
CD for Farm/SB Solutions
VSO
QADEV
DEV
CD FOR FARM/SB SOLUTIONS
CD for Provider Hosted Apps
VSO
DEV
SPODev site
AzureDev site
SPOProd site
AzureProd site
CD FOR PROVIDER HOSTED APPS
CD for Farm/SB Solutions
VSO
QADEV
DEV
Release Management Server
TFS
QA
DEV
RM
PROD
Release Management 2013
Release Management 2013
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!
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
questions?
WWW.MATTHIASEINIG.DE
@MATTEIN
thank you.
Recommended