Team Development and Release Management

25
Team Development & Release Management for ISVs Andrew Albert, salesforce.com Jordan Baucke, BracketLabs Eric Wilcox, FinancialForce

description

If you are building a commercial Force.com app with a team of developers, this session is for you. Join us to learn best practices for setting up your Force.com IDE, managing source code, creating automated builds, deploying to test environments, and more. Hear from a panel of seasoned ISVs who are employing key team development principles. This session is primarily for product managers, architects, and developers (isvpartners).

Transcript of Team Development and Release Management

Page 1: Team Development and Release Management

Team Development & Release Management for ISVs

Andrew Albert, salesforce.com Jordan Baucke, BracketLabs Eric Wilcox, FinancialForce

Page 2: Team Development and Release Management

Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.

Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: Team Development and Release Management

Andrew Albert Director, ISV Technical Enablement

[email protected]

Page 4: Team Development and Release Management

Jordan Baucke Developer/Architect

@jordanbaucke @bracketlabs @readytalkgeeks

Page 5: Team Development and Release Management

Eric Wilcox Senior Developer/Architect

[email protected]

Page 6: Team Development and Release Management

How to setup a new developer

Page 7: Team Development and Release Management

Developer Toolset

Force.com IDE

salesforce Dev & Test Environments

Source Control

Force.com Migration Tool

2

1 3

4

Page 8: Team Development and Release Management

Force.com IDE Force.com Migration Tool git

Partner Developer Edition

Source Code Repository

1 Configure & Run Ant Script 2 git clone git@github/Project

3 Repository downloaded to machine

4 Deploy to Server

5 git add

Setup environment & Check in

Page 9: Team Development and Release Management

Setting up a new environment Demo

Page 10: Team Development and Release Management

Compare & Contrast

Tip: API versioning

Page 11: Team Development and Release Management

Continuous Builds & QA

Page 12: Team Development and Release Management

FinancialForce’s Continuous Build Process

Testing Org

Source Code Repository

Hudson Server Force.com Migration Tool

Run undeploy script 2

Checkout build 1

Deploy to Server 3

Packaging Org

Deploy to Server (with Check Only) 4

Page 13: Team Development and Release Management

Teardown – How to dynamically clean an org

Target Org

Ant Retrieve

Clean Std Obj Layouts

Build Package

Build Destructive Changes

Deploy

Deploy Layouts

1

2

3

4

5

6

Page 14: Team Development and Release Management

Undeploy Script Demo

Page 15: Team Development and Release Management

BracketLab’s QA Process

Partner Test Edition (EE)

Source Code Repository Jenkins Server

Force.com Migration Tool

Checkout build 1

Run Migration tool & deploy to all editions 2

Professional Edition Group Edition

Page 16: Team Development and Release Management

Handling different editions and features? Group Edition Professional Edition Enterprise Edition

Know which edition-specific features your app requires: Record Types, Workflow, etc Know which org-specific features your app requires: Chatter, Multi-Currency, Sharing, Profiles, etc

TIP: Test your app in the different editions!!!

Page 17: Team Development and Release Management

Release Management

Page 18: Team Development and Release Management

How to release an app (unmanaged -> managed)

Hudson Server Force.com Migration Tool

Packaging DE org

2 Run Namespacing script Run Test Methods Verify components Run Code Scanners

Install and Test Editions & Browsers

Source Code Repository

1 Get Build

3

4 Create Managed-Beta

5 6

Create Managed-Release

Page 19: Team Development and Release Management

Namespace conversion script

•  Javascript references to 'Web Service' methods o  Javascript Remoting, VF Ajax Toolkit, APEX REST

Endpoints •  Dynamic SOQL •  VF Pages referenced in custom buttons

Solved with Ruby script (basically glorified find and replace) Find & Replace: /*NS*/-MyNamespace.

https://github.com/jordanbaucke/sfdc-namespace-prefix

Page 20: Team Development and Release Management

Don’t Forget to….

Update Appexchange Listing 1

Update Appexchange Test Drive 2

Update Release Notes 3

Update Installation Guide 4

Update Trialforce Source orgs 5

Page 21: Team Development and Release Management

How do you schedule your releases?

Page 22: Team Development and Release Management

How do you test your app w/ each salesforce release?

Partner Portal: http://p.force.com/releases Twitter: @partnerforce

Page 23: Team Development and Release Management

Takeaways

Undeploy Script to Clean out a test org: https://github.com/financialforcedev/df12-deployment-tools

2

Find/Replace Ruby script to prepend namespace: https://github.com/jordanbaucke/sfdc-namespace-prefix 3

Use the DF12 Session Chatter Group to collaborate 4

Team Development articles on developer.force.com 5

Setting up a new Developer demo: https://github.com/BracketLabs/AppExchange-Team-Development-on-Force.com-Platform-Demo

1

Page 24: Team Development and Release Management

Andrew Albert

salesforce.com ISV Technical Enablement

Jordan Baucke

BracketLabs Developer/Architect

Eric Wilcox

FinancialForce Senior Developer/Architect

Page 25: Team Development and Release Management