1 / 13

Sofia Event Center 14-15 May 2014

Sofia Event Center 14-15 May 2014. Continuous Integration of Sharepoint 2013 Solutions with VS 2013 and Visual Studio Online. Branimir Giurov C# MVP Solution Architect BulPros Consulting. Agenda. What is CI CI Principles CI Advantages/Disadvantages CI Process CI in .NET – tools

akiko
Télécharger la présentation

Sofia Event Center 14-15 May 2014

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sofia Event Center 14-15 May 2014 Continuous Integration of Sharepoint 2013 Solutions with VS 2013 and Visual Studio Online Branimir Giurov C# MVP Solution Architect BulPros Consulting

  2. Agenda • What is CI • CI Principles • CI Advantages/Disadvantages • CI Process • CI in .NET – tools • CI with Sharepoint 2013 – HowTo • Build process (customized) • Configuration and deployment • Integration testing

  3. What is Continuous Integration? • From Wikipedia: • “Continuous integration (CI) is the practice, in software engineering, of merging all developer working copies with a shared mainline several times a day.” • Named and proposed as part of extreme programming (XP) • Prevents Integration problems • BDC few times per day

  4. CI Principles • Maintain a code repository • Automate the build • Make the build self-testing • Everyone commits to the baseline every day • Every commit must be built • Keep the build fast • Test in a clone of production environment • Make it easy to get latest deliverables • Everyone can see the result of the latest build • Automate deployment

  5. CI Advantages/Disadvantages Advantages Disadvantages • When test fails, you know what’s broken • Continuous fixing of integration bugs • Early warning of broken/incompatible code • Immediate unit testing of all changes • Constant availability of build for testing • Immediate feedback to developers on quality of the build • Frequent check-ins pushes developers to create more modular and less complex code • Metrics from automated testing provide immediate feedback about multiple performance areas • Initial setup might take longer

  6. CI Process • Every check-in should be integration-tested • Check-in policy • Run build • Execute unit tests(optional) • For larger source trees • Rolling build • Gated check-ins • Shelve-build-test-check-in – verify merge before check-in

  7. CI in .NET - tools • In the past – pre-Visual Studio 2010: • NAnt • Visual Source Safe, Vault, SVN, TFS • Cruise Control .NET/TFS • PSExec from SysInternals • Now • MSBuild • TFS • TFS Source control/Git • TFS Build

  8. CI in Sharepoint 2013 - Requirements

  9. CI in Sharepoint 2013 - Requirements • My Requirements • Implement CI • Use existing CI • Streamline deployment and configuration • Test/UAT • PowerShell scripts for configuration of environment and environment settings • Make use of my laptop  (for on premise deployments) • Local development, remote deployment • Gated check-in will trigger deployment to a VM in Azure

  10. CI in Sharepoint 2013 • Demo • CI • Custom build template • Gated check-ins • Client Sharepoint development

  11. Tools & Resources • Azure remote PS Execution: http://blogs.msdn.com/b/mariok/archive/2011/08/08/command-line-access-to-azure-vms-powershell-remoting.aspx • Psexec from SysInternals • http://sharepointci.codeplex.com/ • http://officesharepointci.codeplex.com/ • https://spsd.codeplex.com/ - Sharepoint Solution Deployer • https://cksdev.codeplex.com/ - CKS Deployment edition • http://msdn.microsoft.com/en-us/library/ff622991.aspx - output wsp from msbuild

  12. Agenda • What is CI • CI Process • CI in .NET – tools • CI with Sharepoint 2013 – HowTo • Build process (customized) • Configuration and deployment • Integration testing

  13. Questions??? Share your feedback for this particular session and for the overall conference experience at http://aka.ms/intouch for a chance to win our prizes!

More Related