forcelandia salesforce ci

22
Team Development and Continuous Integration on Force.com Daniel Hoechst Senior Manager, CRM Systems @dhoechst Instructure

Upload: daniel-hoechst

Post on 16-Apr-2017

787 views

Category:

Technology


0 download

TRANSCRIPT

PowerPoint Presentation

Team Development and Continuous Integration on Force.comDaniel HoechstSenior Manager, CRM Systems@dhoechst

Instructure

Single speaker Title Slide1

THE INSTRUCTURE STORY

Founded 2008 Launched product in 2011 Located in Salt Lake City 700+ employees ~1,600 clients 100% native SaaS

2

Every had a deployment like this?

Or Maybe This?

Team Development ChallengesCollaborationConflicts with developers working on the same object or classChange trackingIssue identification early in development process

Critical Components for SuccessBug/Feature Documentation and TrackingMultiple Sandboxes/Dev OrgsSource ControlCode Review / Code StandardsContinuous Integration

Tools of the Trade

Issue TrackingJIRAAgile AcceleratorGithub IssuesHomegrown

Sandboxes

Sublime Text + MavensMate

Retrieve Local Copy of MetadataMake Changes

Github

All metadata stored in source controlPull Requests used for code review

SourceTree

Git ClientEasy to Visualize Changes

Snap CIContinuous Integration ToolTest Pull RequestsDeploy changes to staging sandboxUses Force.com Migration Tool

ClaytonAutomated Code Review

Demo

Demo Steps1. Github - show issue created2. Source Tree - create branch3. Sublime to class and Save4. Source Tree- review changes- stage- commit, push, create pull request (close issue in comments)5. Github- show pending pull request, integration with Travis- merge pull request6. Travis - show build 7. Salesforce- Show deployment status- Show updated class

GotchasDestructive changes arent automatedNot all changes can be pushed through metadataAPI version changes

Development Process

BenefitsWell understood processNo developers overwriting codeTrack changes back to an issue and developerEasy to rollbackImmediate feedback with build errors

ResourcesSample repo: https://github.com/dhoechst/Team-Dev-Force-Dot-ComTeam Development on Force.com http://www.verticalcoder.com/2014/01/06/team-development-on-force-com/Continuous Integration Using Drone.io http://www.verticalcoder.com/2014/01/07/continuous-integration-using-drone-io/MavensMate and Git for Non Developershttps://tdd.instawiki.com/display/SF/Mavens+Mate+and+Git+for+Non+Developers

Q&A

This will have sponsor logos added when they are finalized29

Thank you!

This will have sponsor logos added when they are finalized30