sharepoint saturday ottawa- automate your deployments with tfs and build server
DESCRIPTION
Have you ever wanted to get rid of the classic PowerShell deployments scripts every time you build a new SharePoint Solution? As a developer, don’t you wish you could just deploy the solution on a DEV / QA farm directly from your Visual Studio without having to wait for your SharePoint Administrator to deploy them for you since he doesn’t want developers to be local admins on the servers? As a SharePoint Admin, aren’t you tired of developers bugging you to deploy their solutions? In this session you will learn how to configure TFS Build Server to automate the SharePoint Package deployment to SharePoint servers and how to monitor your deployments!TRANSCRIPT
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
TFSLogic
Prizes
SharePoint
PowerShell
SharePint
Script
K
?
Is it just a trend, or actually useful?
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Automation is the use of tools and strategies that reduce human involvement or interaction in unskilled, repetitive or redundant tasks
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Automation is the use of tools and strategies that reduce human involvement or interaction in unskilled, repetitive or redundant tasks
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Automation is the use of tools and strategies that reduce human involvement or interaction in unskilled, repetitive or redundant tasks
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Automation is the use of tools and strategies that reduce human involvement or interaction in unskilled, repetitive or redundant tasks
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Just a buzzword or actually useful?
K
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
I want to deploy faster.
I want stability.
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
I want to deploy faster.
I want stability.
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
I want to deploy faster.
I want stability.
What will we be using?
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
SharePoint Team Foundation Server PowerShell
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Why we need SharePoint
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Why we need TFS
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Bugs
CodeRepository
Tasks
WebDeploy
VersionControl
Tests
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Automates deployments
DEV QAINT PRODTFS
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Deploys the same way to all stages
DEV QAINT PRODTFS
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Scheduled / Manual builds
DEV QAINT PRODTFS
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Full Traceability
DEV QAINT PRODTFS
é é é é
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Build Level Permissions
DEV QAINT PRODTFS
ê ê
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
SharePoint is …… special.
PowerShell is very powerful.
Flexibility to do more than just “deploy”
Ready to integrate with a lot more applications
Why do we need it?
Learning the logic behind the magic
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
What is our goal?
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
What is our goal?
Build Solution
Copy WSP File to Build
Location
Give Info to PowerShell
Get Info From TFS
Start Remote PowerShell Session
Deploy Solution
Custom Actions
Warmup IIS
See it in action.
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Here is our setup
DeveloperVisual Studio 2013
SharePoint Farm
Active Directory
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
In this demo we see how Alex the developer can easily push his code to the Dev farm without ever having access to the server or having to run a PowerShell command. We will also look how the Administrator can deploy to the production server automatically without letting Alex do it. Finally, we will look at how this all works together and at different resources across the web.
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Configure Remote PowerShell in SharePoint 2010
http://blogs.msdn.com/b/varun_malhotra/archive/2010/06/10/configure-power-shell-for-remote-use-of-sp-2010.aspx
How to Build Office Developer Tools Projects with TFS Team Build 2012
http://msdn.microsoft.com/en-us/library/ff622991.aspx
SharePoint/TFS Continuous Integration Starter Pack (Farm/Sandbox)
http://sharepointci.codeplex.com/
Customize your build process template http://msdn.microsoft.com/en-us/library/dd647551.aspx
Office / SharePoint 2013 Continuous Integration with TFS 2012 (Apps )
http://officesharepointci.codeplex.com/
Date & Time: Immediately after prizes
Location: Observatory Student Pub
Address: On Algonquin Campus
Parking: No need to move your car!*
Site: http://www.algonquinsa.com/ob.aspx
*Please drive responsibly! We are happy to call you a cab
Blog: www.absolute-sharepoint.com| e-mail: [email protected]
Questions & Answers
@vladcatrinescu
http://ca.linkedin.com/in/vladcatrinescu
www.absolute-sharepoint.com